]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/lint/issue-30302.rs
Auto merge of #106884 - clubby789:fieldless-enum-debug, r=michaelwoerister
[rust.git] / tests / ui / lint / issue-30302.rs
index c37d4f29d10e36bd144a2d7c962179f01a2d8b8e..5eccb8cd5d8d2cc59ea45992eac2ddd530285a9e 100644 (file)
@@ -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
     }