]>
Commit | Line | Data |
---|---|---|
416331ca | 1 | error: const items should never be `#[no_mangle]` |
0731742a | 2 | --> $DIR/issue-45562.rs:3:14 |
2c00a5a8 | 3 | | |
0531ce1d | 4 | LL | #[no_mangle] pub const RAH: usize = 5; |
2c00a5a8 XL |
5 | | ---------^^^^^^^^^^^^^^^^ |
6 | | | | |
7 | | help: try a static value: `pub static` | |
8 | | | |
416331ca | 9 | = note: `#[deny(no_mangle_const_items)]` on by default |
2c00a5a8 XL |
10 | |
11 | error: aborting due to previous error | |
12 |