fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: associated constant `BAR` is never used 2 --> $DIR/associated-const-dead-code.rs:6:11 3 | 4LL | impl MyFoo { 5 | ---------- associated constant in this implementation 6LL | const BAR: u32 = 1; 7 | ^^^ 8 | 9note: the lint level is defined here 10 --> $DIR/associated-const-dead-code.rs:1:9 11 | 12LL | #![deny(dead_code)] 13 | ^^^^^^^^^ 14 15error: aborting due to previous error 16