rust/tests/ui/associated-consts/associated-const-dead-code.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
326 B
Plaintext
Raw Normal View History

error: associated constant `BAR` is never used
2022-06-22 20:33:59 +02:00
--> $DIR/associated-const-dead-code.rs:6:11
2018-08-08 14:28:26 +02:00
|
LL | const BAR: u32 = 1;
2022-06-22 20:33:59 +02:00
| ^^^
2018-08-08 14:28:26 +02:00
|
2020-01-22 23:57:38 +00:00
note: the lint level is defined here
2018-12-25 08:56:47 -07:00
--> $DIR/associated-const-dead-code.rs:1:9
2018-08-08 14:28:26 +02:00
|
LL | #![deny(dead_code)]
| ^^^^^^^^^
error: aborting due to previous error