blob: 172aed733fca96545b883ba9c802f6f4e5d5d02f [file] [log] [blame]
error: associated const is never used: `BAR`
--> $DIR/associated-const-dead-code.rs:6:5
|
LL | const BAR: u32 = 1;
| ^^^^^^^^^^^^^^^^^^^
|
note: the lint level is defined here
--> $DIR/associated-const-dead-code.rs:1:9
|
LL | #![deny(dead_code)]
| ^^^^^^^^^
error: aborting due to previous error