diff options
Diffstat (limited to '')
-rw-r--r-- | tests/ui/lint/issue-30302.rs (renamed from src/test/ui/lint/issue-30302.rs) | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/lint/issue-30302.rs b/tests/ui/lint/issue-30302.rs index c37d4f29d..5eccb8cd5 100644 --- a/src/test/ui/lint/issue-30302.rs +++ b/tests/ui/lint/issue-30302.rs @@ -11,7 +11,7 @@ enum Stack<T> { fn is_empty<T>(s: Stack<T>) -> bool { match s { Nil => true, -//~^ WARN pattern binding `Nil` is named the same as one of the variants of the type `Stack` +//~^ ERROR pattern binding `Nil` is named the same as one of the variants of the type `Stack` _ => false //~^ ERROR unreachable pattern } |