]> git.lizzy.rs Git - rust.git/blobdiff - src/test/compile-fail/E0029.rs
typeck: suggest use of match_default_bindings feature
[rust.git] / src / test / compile-fail / E0029.rs
index ec84e2a3f8a3650c8e910752e5fdeba1fb71a4fc..e43290bb1541654bf293cc0fcb8a91f2ef451d12 100644 (file)
@@ -17,6 +17,7 @@ fn main() {
         //~| NOTE ranges require char or numeric types
         //~| NOTE start type: &'static str
         //~| NOTE end type: &'static str
+        //~| ERROR non-reference pattern used to match a reference
         _ => {}
     }
 }