]> git.lizzy.rs Git - rust.git/blob - tests/ui-toml/upper_case_acronyms_aggressive/upper_case_acronyms.stderr
Auto merge of #6790 - mgacek8:issue_6748, r=Manishearth
[rust.git] / tests / ui-toml / upper_case_acronyms_aggressive / upper_case_acronyms.stderr
1 error: name `HTTPResponse` contains a capitalized acronym
2   --> $DIR/upper_case_acronyms.rs:3:8
3    |
4 LL | struct HTTPResponse; // not linted by default, but with cfg option
5    |        ^^^^^^^^^^^^ help: consider making the acronym lowercase, except the initial letter: `HttpResponse`
6    |
7    = note: `-D clippy::upper-case-acronyms` implied by `-D warnings`
8
9 error: name `NS` contains a capitalized acronym
10   --> $DIR/upper_case_acronyms.rs:8:5
11    |
12 LL |     NS, // not linted
13    |     ^^ help: consider making the acronym lowercase, except the initial letter (notice the capitalization): `Ns`
14
15 error: name `CWR` contains a capitalized acronym
16   --> $DIR/upper_case_acronyms.rs:9:5
17    |
18 LL |     CWR,
19    |     ^^^ help: consider making the acronym lowercase, except the initial letter: `Cwr`
20
21 error: name `ECE` contains a capitalized acronym
22   --> $DIR/upper_case_acronyms.rs:10:5
23    |
24 LL |     ECE,
25    |     ^^^ help: consider making the acronym lowercase, except the initial letter: `Ece`
26
27 error: name `URG` contains a capitalized acronym
28   --> $DIR/upper_case_acronyms.rs:11:5
29    |
30 LL |     URG,
31    |     ^^^ help: consider making the acronym lowercase, except the initial letter: `Urg`
32
33 error: name `ACK` contains a capitalized acronym
34   --> $DIR/upper_case_acronyms.rs:12:5
35    |
36 LL |     ACK,
37    |     ^^^ help: consider making the acronym lowercase, except the initial letter (notice the capitalization): `Ack`
38
39 error: name `PSH` contains a capitalized acronym
40   --> $DIR/upper_case_acronyms.rs:13:5
41    |
42 LL |     PSH,
43    |     ^^^ help: consider making the acronym lowercase, except the initial letter: `Psh`
44
45 error: name `RST` contains a capitalized acronym
46   --> $DIR/upper_case_acronyms.rs:14:5
47    |
48 LL |     RST,
49    |     ^^^ help: consider making the acronym lowercase, except the initial letter: `Rst`
50
51 error: name `SYN` contains a capitalized acronym
52   --> $DIR/upper_case_acronyms.rs:15:5
53    |
54 LL |     SYN,
55    |     ^^^ help: consider making the acronym lowercase, except the initial letter: `Syn`
56
57 error: name `FIN` contains a capitalized acronym
58   --> $DIR/upper_case_acronyms.rs:16:5
59    |
60 LL |     FIN,
61    |     ^^^ help: consider making the acronym lowercase, except the initial letter: `Fin`
62
63 error: name `GCCLLVMSomething` contains a capitalized acronym
64   --> $DIR/upper_case_acronyms.rs:19:8
65    |
66 LL | struct GCCLLVMSomething; // linted with cfg option, beware that lint suggests `GccllvmSomething` instead of
67    |        ^^^^^^^^^^^^^^^^ help: consider making the acronym lowercase, except the initial letter: `GccllvmSomething`
68
69 error: aborting due to 11 previous errors
70