]> git.proxmox.com Git - rustc.git/blame - src/test/ui/issues/issue-45562.stderr
New upstream version 1.60.0+dfsg1
[rustc.git] / src / test / ui / issues / issue-45562.stderr
CommitLineData
416331ca 1error: const items should never be `#[no_mangle]`
0731742a 2 --> $DIR/issue-45562.rs:3:14
2c00a5a8 3 |
0531ce1d 4LL | #[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
11error: aborting due to previous error
12