rust/tests/ui/extern/extern-const.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
355 B
Plaintext
Raw Normal View History

error: extern items cannot be `const`
2020-02-15 01:23:10 +00:00
--> $DIR/extern-const.rs:16:11
|
2019-03-09 12:03:44 +00:00
LL | const rust_dbg_static_mut: libc::c_int;
2020-02-15 01:23:10 +00:00
| ------^^^^^^^^^^^^^^^^^^^
| |
| 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