]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/error-codes/E0007.rs
Introduce `#![feature(bindings_after_at)]`.
[rust.git] / src / test / ui / error-codes / E0007.rs
index cdda735ba443554f05cde8285a295a8d99b59f1b..4f7fc0dc2326cadcc2bb1c276ed202d92286fb8d 100644 (file)
@@ -1,9 +1,11 @@
+#![feature(bindings_after_at)]
+//~^ WARN the feature `bindings_after_at` is incomplete and may cause the compiler to crash
+
 fn main() {
     let x = Some("s".to_string());
     match x {
         op_string @ Some(s) => {},
         //~^ ERROR E0007
-        //~| ERROR E0303
         //~| ERROR E0382
         None => {},
     }