fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
904 B26 linesraw
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   |
7note: the lint level is defined here
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