fork/rust

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

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

master
2.4 KiB71 linesraw
1error: name `CWR` contains a capitalized acronym
2  --> $DIR/upper_case_acronyms.rs:9:5
3   |
4LL |     CWR,
5   |     ^^^ help: consider making the acronym lowercase, except the initial letter: `Cwr`
6   |
7   = note: `-D clippy::upper-case-acronyms` implied by `-D warnings`
8   = help: to override `-D warnings` add `#[allow(clippy::upper_case_acronyms)]`
9
10error: name `ECE` contains a capitalized acronym
11  --> $DIR/upper_case_acronyms.rs:12:5
12   |
13LL |     ECE,
14   |     ^^^ help: consider making the acronym lowercase, except the initial letter: `Ece`
15
16error: name `URG` contains a capitalized acronym
17  --> $DIR/upper_case_acronyms.rs:14:5
18   |
19LL |     URG,
20   |     ^^^ help: consider making the acronym lowercase, except the initial letter: `Urg`
21
22error: name `ACK` contains a capitalized acronym
23  --> $DIR/upper_case_acronyms.rs:16:5
24   |
25LL |     ACK,
26   |     ^^^ help: consider making the acronym lowercase, except the initial letter (notice the capitalization): `Ack`
27
28error: name `PSH` contains a capitalized acronym
29  --> $DIR/upper_case_acronyms.rs:18:5
30   |
31LL |     PSH,
32   |     ^^^ help: consider making the acronym lowercase, except the initial letter: `Psh`
33
34error: name `RST` contains a capitalized acronym
35  --> $DIR/upper_case_acronyms.rs:20:5
36   |
37LL |     RST,
38   |     ^^^ help: consider making the acronym lowercase, except the initial letter: `Rst`
39
40error: name `SYN` contains a capitalized acronym
41  --> $DIR/upper_case_acronyms.rs:22:5
42   |
43LL |     SYN,
44   |     ^^^ help: consider making the acronym lowercase, except the initial letter: `Syn`
45
46error: name `FIN` contains a capitalized acronym
47  --> $DIR/upper_case_acronyms.rs:24:5
48   |
49LL |     FIN,
50   |     ^^^ help: consider making the acronym lowercase, except the initial letter: `Fin`
51
52error: name `WASD` contains a capitalized acronym
53  --> $DIR/upper_case_acronyms.rs:45:5
54   |
55LL |     WASD(u8),
56   |     ^^^^ help: consider making the acronym lowercase, except the initial letter: `Wasd`
57
58error: name `JSON` contains a capitalized acronym
59  --> $DIR/upper_case_acronyms.rs:52:8
60   |
61LL | struct JSON;
62   |        ^^^^ help: consider making the acronym lowercase, except the initial letter: `Json`
63
64error: name `YAML` contains a capitalized acronym
65  --> $DIR/upper_case_acronyms.rs:56:6
66   |
67LL | enum YAML {
68   |      ^^^^ help: consider making the acronym lowercase, except the initial letter: `Yaml`
69
70error: aborting due to 11 previous errors
71