]> git.lizzy.rs Git - rust.git/blobdiff - src/test/compile-fail/issue-28324.rs
Modified expected error messages in accordance with rebase.
[rust.git] / src / test / compile-fail / issue-28324.rs
index 3c4d6b42b503dfc72956de56d5fd5346878ff5ec..8512238dd31ca668d1dfa0dd1fd1bf248a2113ad 100644 (file)
@@ -15,6 +15,9 @@
 }
 
 pub static BAZ: u32 = *&error_message_count;
-//~^ ERROR cannot refer to other statics by value
+//~^ ERROR could not evaluate static initializer
+//~| tried to read from foreign (extern) static
+//~^^^ ERROR could not evaluate static initializer
+//~| tried to read from foreign (extern) static
 
 fn main() {}