rust/tests/ui/extern/extern-const.stderr
2024-04-15 08:54:11 -04:00

13 lines
351 B
Plaintext

error: extern items cannot be `const`
--> $DIR/extern-const.rs:14:11
|
LL | const rust_dbg_static_mut: c_int;
| ------^^^^^^^^^^^^^^^^^^^
| |
| help: try using a static value: `static`
|
= note: for more information, visit https://doc.rust-lang.org/std/keyword.extern.html
error: aborting due to 1 previous error