summaryrefslogtreecommitdiffstats
path: root/src/test/ui/lint/lint-non-uppercase-associated-const.stderr
blob: 411ff51aad748f7457a35484908b6ff3acd55fa1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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