diff options
Diffstat (limited to 'tests/ui/match/auxiliary')
-rw-r--r-- | tests/ui/match/auxiliary/match_non_exhaustive_lib.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/ui/match/auxiliary/match_non_exhaustive_lib.rs b/tests/ui/match/auxiliary/match_non_exhaustive_lib.rs new file mode 100644 index 000000000..3be72551e --- /dev/null +++ b/tests/ui/match/auxiliary/match_non_exhaustive_lib.rs @@ -0,0 +1,5 @@ +#[non_exhaustive] +pub enum E1 {} + +#[non_exhaustive] +pub enum E2 { A, B } |