mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
17 lines
405 B
Plaintext
17 lines
405 B
Plaintext
error: associated constant `UNUSED_CONST` is never used
|
|
--> $DIR/unused-assoc-const.rs:4:11
|
|
|
|
|
LL | trait Trait {
|
|
| ----- associated constant in this trait
|
|
LL | const UNUSED_CONST: i32;
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
note: the lint level is defined here
|
|
--> $DIR/unused-assoc-const.rs:1:9
|
|
|
|
|
LL | #![deny(dead_code)]
|
|
| ^^^^^^^^^
|
|
|
|
error: aborting due to 1 previous error
|
|
|