rust/tests/ui/issues/issue-45562.stderr

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

13 lines
356 B
Plaintext
Raw Normal View History

error: const items should never be `#[no_mangle]`
2018-12-25 15:56:47 +00:00
--> $DIR/issue-45562.rs:3:14
|
2018-02-23 00:42:32 +00:00
LL | #[no_mangle] pub const RAH: usize = 5;
| ---------^^^^^^^^^^^^^^^^
| |
| help: try a static value: `pub static`
|
= note: `#[deny(no_mangle_const_items)]` on by default
error: aborting due to 1 previous error