fork/rust

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

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
333 B14 linesraw
1error: associated const is never used: `BAR`
2  --> $DIR/associated-const-dead-code.rs:6:5
3   |
4LL |     const BAR: u32 = 1;
5   |     ^^^^^^^^^^^^^^^^^^^
6   |
7note: the lint level is defined here
8  --> $DIR/associated-const-dead-code.rs:1:9
9   |
10LL | #![deny(dead_code)]
11   |         ^^^^^^^^^
12
13error: aborting due to previous error
14