]> git.lizzy.rs Git - rust.git/blob - src/test/ui/associated-consts/associated-const-dead-code.stderr
Rollup merge of #89878 - GuillaumeGomez:add-missing-cfg-hide, r=notriddle
[rust.git] / src / test / ui / associated-consts / associated-const-dead-code.stderr
1 error: associated constant is never used: `BAR`
2   --> $DIR/associated-const-dead-code.rs:6:5
3    |
4 LL |     const BAR: u32 = 1;
5    |     ^^^^^^^^^^^^^^^^^^^
6    |
7 note: the lint level is defined here
8   --> $DIR/associated-const-dead-code.rs:1:9
9    |
10 LL | #![deny(dead_code)]
11    |         ^^^^^^^^^
12
13 error: aborting due to previous error
14