We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13b82ec commit 1c34227Copy full SHA for 1c34227
src/test/compile-fail/issue-14227.rs
@@ -14,6 +14,9 @@ extern {
14
pub static symbol: ();
15
}
16
static CRASH: () = symbol;
17
-//~^ ERROR constant evaluation error
+//~^ ERROR could not evaluate static initializer
18
+//~| tried to read from foreign (extern) static
19
+//~^^^ ERROR could not evaluate static initializer
20
21
22
fn main() {}
src/test/compile-fail/issue-28324.rs
@@ -15,7 +15,9 @@ extern {
pub static BAZ: u32 = *&error_message_count;
//~| tried to read from foreign (extern) static
23
0 commit comments