rust/src/test/ui/issues/issue-45562.stderr

13 lines
350 B
Plaintext
Raw Normal View History

error: const items should never be #[no_mangle]
2018-12-25 09:56:47 -06:00
--> $DIR/issue-45562.rs:3:14
|
2018-02-22 18:42:32 -06: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 previous error