rust/tests/ui/lint/lint-non-uppercase-associated-const.stderr

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

15 lines
465 B
Plaintext
Raw Normal View History

error: associated constant `not_upper` should have an upper case name
--> $DIR/lint-non-uppercase-associated-const.rs:7:11
2018-08-08 07:28:26 -05:00
|
LL | const not_upper: bool = true;
| ^^^^^^^^^ help: convert the identifier to upper case: `NOT_UPPER`
2018-08-08 07:28:26 -05:00
|
2020-01-22 17:57:38 -06:00
note: the lint level is defined here
--> $DIR/lint-non-uppercase-associated-const.rs:1:9
2018-08-08 07:28:26 -05:00
|
LL | #![deny(non_upper_case_globals)]
| ^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to previous error