Skip to content

Commit

Permalink
Add more test case
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Dec 5, 2023
1 parent 50589fc commit f688cc8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/auto_enum.rs
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ fn stable() {
1 => None?,
2 => std::option::Option::None?,
3 => core::option::Option::None?,
4 => None::<_>?,
_ => 2..=10,
};

Expand All @@ -288,6 +289,7 @@ fn stable() {
1 => Err(())?,
2 => std::result::Result::Err(())?,
3 => core::result::Result::Err(())?,
4 => Err::<_, ()>(())?,
_ => 2..=10,
};

Expand Down

0 comments on commit f688cc8

Please sign in to comment.