fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
354 B12 linesraw
1error: const items should never be `#[no_mangle]`
2  --> $DIR/issue-45562.rs:3:14
3   |
4LL | #[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
11error: aborting due to previous error
12