mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
15 lines
443 B
Plaintext
15 lines
443 B
Plaintext
error: associated constant `item` should have an upper case name
|
|
--> $DIR/lint-non-uppercase-trait-assoc-const.rs:4:11
|
|
|
|
|
LL | const item: usize;
|
|
| ^^^^ help: convert the identifier to upper case: `ITEM`
|
|
|
|
|
note: the lint level is defined here
|
|
--> $DIR/lint-non-uppercase-trait-assoc-const.rs:1:9
|
|
|
|
|
LL | #![deny(non_upper_case_globals)]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 1 previous error
|
|
|