]> git.proxmox.com Git - rustc.git/blame - src/test/ui/lint/lint-lowercase-static-const-pattern.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / lint / lint-lowercase-static-const-pattern.stderr
CommitLineData
0731742a
XL
1error: constant in pattern `a` should have an upper case name
2 --> $DIR/lint-lowercase-static-const-pattern.rs:11:13
3 |
4LL | (0, a) => 0,
5 | ^ help: convert the identifier to upper case: `A`
6 |
74b04a01 7note: the lint level is defined here
0731742a
XL
8 --> $DIR/lint-lowercase-static-const-pattern.rs:4:9
9 |
10LL | #![deny(non_upper_case_globals)]
11 | ^^^^^^^^^^^^^^^^^^^^^^
12
13error: constant in pattern `aha` should have an upper case name
14 --> $DIR/lint-lowercase-static-const-pattern.rs:26:13
15 |
16LL | (0, aha) => 0,
17 | ^^^ help: convert the identifier to upper case: `AHA`
18
19error: constant in pattern `not_okay` should have an upper case name
20 --> $DIR/lint-lowercase-static-const-pattern.rs:40:13
21 |
22LL | (0, not_okay) => 0,
23 | ^^^^^^^^ help: convert the identifier to upper case: `NOT_OKAY`
24
25error: aborting due to 3 previous errors
26