]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-45562.stderr
Rollup merge of #86479 - exphp-forks:float-debug-exponential, r=yaahc
[rust.git] / src / test / ui / issues / issue-45562.stderr
1 error: const items should never be `#[no_mangle]`
2   --> $DIR/issue-45562.rs:3:14
3    |
4 LL | #[no_mangle] pub const RAH: usize = 5;
5    |              ---------^^^^^^^^^^^^^^^^
6    |              |
7    |              help: try a static value: `pub static`
8    |
9    = note: `#[deny(no_mangle_const_items)]` on by default
10
11 error: aborting due to previous error
12