]> git.proxmox.com Git - rustc.git/blobdiff - src/test/parse-fail/removed-syntax-uniq-mut-ty.rs
Imported Upstream version 1.1.0+dfsg1
[rustc.git] / src / test / parse-fail / removed-syntax-uniq-mut-ty.rs
index d1c2fc69f523383354671b838aa8182a57e3ee3c..77e64e7c997ea589550d8394e1b856bd1fc12dbf 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
+
 type mut_box = Box<mut isize>;
     //~^  ERROR expected identifier, found keyword `mut`
     //~^^ ERROR expected one of `(`, `+`, `,`, `::`, `<`, or `>`, found `isize`