]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/parser/issue-19398.rs
Add 'compiler/rustc_codegen_cranelift/' from commit '793d26047f994e23415f8f6bb5686ff2...
[rust.git] / src / test / ui / parser / issue-19398.rs
index 014c930ef82053290f49ead17de30754cdf76c24..46eb320a172f2f89edb7a97706e6afea4b15fc32 100644 (file)
@@ -1,6 +1,6 @@
 trait T {
-    //~^ ERROR missing `fn`, `type`, `const`, or `static` for item declaration
     extern "Rust" unsafe fn foo();
+    //~^ ERROR expected `{`, found keyword `unsafe`
 }
 
 fn main() {}