fork/rust

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

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

1.43.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