]> git.proxmox.com Git - rustc.git/blobdiff - src/test/parse-fail/removed-syntax-uniq-mut-expr.rs
Imported Upstream version 1.1.0+dfsg1
[rustc.git] / src / test / parse-fail / removed-syntax-uniq-mut-expr.rs
index c5559c4ea9621f5aac6e93e4c9d5c326291fa680..ea686aeb6e05aafa1c13973651f3ad689d58a565 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// compile-flags: -Z parse-only
+
 fn f() {
     let a_box = box mut 42;
     //~^  ERROR expected identifier, found keyword `mut`