]> git.proxmox.com Git - rustc.git/blobdiff - src/test/parse-fail/removed-syntax-fn-sigil.rs
Imported Upstream version 1.1.0+dfsg1
[rustc.git] / src / test / parse-fail / removed-syntax-fn-sigil.rs
index 83ebe7cc7a3bda8ce9bd128fec6fea3c17890cf2..f47ad01d7e129321717b9cfe51a67c500308ebee 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 x: fn~() = || (); //~ ERROR expected `(`, found `~`
 }