]> git.lizzy.rs Git - rust.git/blob - tests/ui/lint/lint-non-uppercase-associated-const.stderr
Rollup merge of #106715 - BoxyUwU:new_solver_triagebot, r=lcnr
[rust.git] / tests / 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: the lint level is 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