mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
15 lines
465 B
Plaintext
15 lines
465 B
Plaintext
error: associated constant `not_upper` should have an upper case name
|
|
--> $DIR/lint-non-uppercase-associated-const.rs:7:11
|
|
|
|
|
LL | const not_upper: bool = true;
|
|
| ^^^^^^^^^ help: convert the identifier to upper case: `NOT_UPPER`
|
|
|
|
|
note: the lint level is defined here
|
|
--> $DIR/lint-non-uppercase-associated-const.rs:1:9
|
|
|
|
|
LL | #![deny(non_upper_case_globals)]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to previous error
|
|
|