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