]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/issues/issue-14227.rs
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / issues / issue-14227.rs
index 5de3867f95c224b90f9803b731a9f51b7e1c1acf..d80eefc41bf53cd3bba4cf0a9ba46eec8b024f80 100644 (file)
@@ -1,10 +1,7 @@
-#![allow(safe_extern_statics, warnings)]
-
 extern {
     pub static symbol: u32;
 }
 static CRASH: u32 = symbol;
-//~^ ERROR could not evaluate static initializer
-//~| tried to read from foreign (extern) static
+//~^ ERROR use of extern static is unsafe and requires
 
 fn main() {}