]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/parser/removed-syntax-fn-sigil.rs
Add 'compiler/rustc_codegen_cranelift/' from commit '793d26047f994e23415f8f6bb5686ff2...
[rust.git] / src / test / ui / parser / removed-syntax-fn-sigil.rs
index 77735f4fab47f1b33dfc37ccc81e70b1f5621672..725843429c0034bede969c9049e49f6be3f99864 100644 (file)
@@ -1,5 +1,3 @@
-// compile-flags: -Z parse-only
-
-fn f() {
+fn main() {
     let x: fn~() = || (); //~ ERROR expected `(`, found `~`
 }