fork/rust

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

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
326 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: lint level 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