mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 00:03:43 +00:00
13 lines
355 B
Plaintext
13 lines
355 B
Plaintext
error: extern items cannot be `const`
|
|
--> $DIR/extern-const.rs:16:11
|
|
|
|
|
LL | const rust_dbg_static_mut: libc::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 previous error
|
|
|