summaryrefslogtreecommitdiffstats
path: root/tests/ui/lint/lint-non-uppercase-trait-assoc-const.stderr
blob: 98d8d1dd27f3580225990297fe561b6d5c4f13a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: associated constant `item` should have an upper case name
  --> $DIR/lint-non-uppercase-trait-assoc-const.rs:4:11
   |
LL |     const item: usize;
   |           ^^^^ help: convert the identifier to upper case: `ITEM`
   |
note: the lint level is defined here
  --> $DIR/lint-non-uppercase-trait-assoc-const.rs:1:9
   |
LL | #![deny(non_upper_case_globals)]
   |         ^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to previous error