]> git.proxmox.com Git - rustc.git/blob - src/test/ui/lint/lint-non-uppercase-associated-const.stderr
New upstream version 1.39.0+dfsg1
[rustc.git] / src / test / ui / lint / lint-non-uppercase-associated-const.stderr
1 error: associated constant `not_upper` should have an upper case name
2 --> $DIR/lint-non-uppercase-associated-const.rs:7:11
3 |
4 LL | const not_upper: bool = true;
5 | ^^^^^^^^^ help: convert the identifier to upper case: `NOT_UPPER`
6 |
7 note: lint level defined here
8 --> $DIR/lint-non-uppercase-associated-const.rs:1:9
9 |
10 LL | #![deny(non_upper_case_globals)]
11 | ^^^^^^^^^^^^^^^^^^^^^^
12
13 error: aborting due to previous error
14