mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-03 20:23:59 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
13 lines
357 B
Plaintext
13 lines
357 B
Plaintext
error: extern items cannot be `const`
|
|
--> $DIR/extern-const.rs:15: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 1 previous error
|
|
|