]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/lint-lowercase-static-const-pattern.stderr
Auto merge of #106349 - LeSeulArtichaut:dyn-star-tracking-issue, r=jackh726
[rust.git] / src / test / ui / lint / lint-lowercase-static-const-pattern.stderr
1 error: constant in pattern `a` should have an upper case name
2   --> $DIR/lint-lowercase-static-const-pattern.rs:11:13
3    |
4 LL |         (0, a) => 0,
5    |             ^ help: convert the identifier to upper case: `A`
6    |
7 note: the lint level is defined here
8   --> $DIR/lint-lowercase-static-const-pattern.rs:4:9
9    |
10 LL | #![deny(non_upper_case_globals)]
11    |         ^^^^^^^^^^^^^^^^^^^^^^
12
13 error: constant in pattern `aha` should have an upper case name
14   --> $DIR/lint-lowercase-static-const-pattern.rs:26:13
15    |
16 LL |         (0, aha) => 0,
17    |             ^^^ help: convert the identifier to upper case: `AHA`
18
19 error: constant in pattern `not_okay` should have an upper case name
20   --> $DIR/lint-lowercase-static-const-pattern.rs:40:13
21    |
22 LL |         (0, not_okay) => 0,
23    |             ^^^^^^^^ help: convert the identifier to upper case: `NOT_OKAY`
24
25 error: aborting due to 3 previous errors
26