diff options
Diffstat (limited to 'tests/ui/never_patterns/check.rs')
| -rw-r--r-- | tests/ui/never_patterns/check.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/ui/never_patterns/check.rs b/tests/ui/never_patterns/check.rs index bcc3a760c10..9b02fc7996d 100644 --- a/tests/ui/never_patterns/check.rs +++ b/tests/ui/never_patterns/check.rs @@ -15,11 +15,12 @@ fn no_arms_or_guards(x: Void) { None => {} } match None::<Void> { + //~^ ERROR non-exhaustive Some(!) if true, - //~^ ERROR expected one of None => {} } match None::<Void> { + //~^ ERROR non-exhaustive Some(!) if true => {} None => {} } |
