]> git.lizzy.rs Git - rust.git/blob - tests/ui/non_expressive_names.stderr
Remove all copyright license headers
[rust.git] / tests / ui / non_expressive_names.stderr
1 error: binding's name is too similar to existing binding
2   --> $DIR/non_expressive_names.rs:15:9
3    |
4 LL |     let bpple: i32;
5    |         ^^^^^
6    |
7    = note: `-D clippy::similar-names` implied by `-D warnings`
8 note: existing binding defined here
9   --> $DIR/non_expressive_names.rs:13:9
10    |
11 LL |     let apple: i32;
12    |         ^^^^^
13 help: separate the discriminating character by an underscore like: `b_pple`
14   --> $DIR/non_expressive_names.rs:15:9
15    |
16 LL |     let bpple: i32;
17    |         ^^^^^
18
19 error: binding's name is too similar to existing binding
20   --> $DIR/non_expressive_names.rs:17:9
21    |
22 LL |     let cpple: i32;
23    |         ^^^^^
24    |
25 note: existing binding defined here
26   --> $DIR/non_expressive_names.rs:13:9
27    |
28 LL |     let apple: i32;
29    |         ^^^^^
30 help: separate the discriminating character by an underscore like: `c_pple`
31   --> $DIR/non_expressive_names.rs:17:9
32    |
33 LL |     let cpple: i32;
34    |         ^^^^^
35
36 error: binding's name is too similar to existing binding
37   --> $DIR/non_expressive_names.rs:41:9
38    |
39 LL |     let bluby: i32;
40    |         ^^^^^
41    |
42 note: existing binding defined here
43   --> $DIR/non_expressive_names.rs:40:9
44    |
45 LL |     let blubx: i32;
46    |         ^^^^^
47 help: separate the discriminating character by an underscore like: `blub_y`
48   --> $DIR/non_expressive_names.rs:41:9
49    |
50 LL |     let bluby: i32;
51    |         ^^^^^
52
53 error: binding's name is too similar to existing binding
54   --> $DIR/non_expressive_names.rs:45:9
55    |
56 LL |     let coke: i32;
57    |         ^^^^
58    |
59 note: existing binding defined here
60   --> $DIR/non_expressive_names.rs:43:9
61    |
62 LL |     let cake: i32;
63    |         ^^^^
64
65 error: binding's name is too similar to existing binding
66   --> $DIR/non_expressive_names.rs:63:9
67    |
68 LL |     let xyzeabc: i32;
69    |         ^^^^^^^
70    |
71 note: existing binding defined here
72   --> $DIR/non_expressive_names.rs:61:9
73    |
74 LL |     let xyz1abc: i32;
75    |         ^^^^^^^
76
77 error: binding's name is too similar to existing binding
78   --> $DIR/non_expressive_names.rs:67:9
79    |
80 LL |     let parsee: i32;
81    |         ^^^^^^
82    |
83 note: existing binding defined here
84   --> $DIR/non_expressive_names.rs:65:9
85    |
86 LL |     let parser: i32;
87    |         ^^^^^^
88 help: separate the discriminating character by an underscore like: `parse_e`
89   --> $DIR/non_expressive_names.rs:67:9
90    |
91 LL |     let parsee: i32;
92    |         ^^^^^^
93
94 error: binding's name is too similar to existing binding
95   --> $DIR/non_expressive_names.rs:81:16
96    |
97 LL |         bpple: sprang,
98    |                ^^^^^^
99    |
100 note: existing binding defined here
101   --> $DIR/non_expressive_names.rs:80:16
102    |
103 LL |         apple: spring,
104    |                ^^^^^^
105
106 error: 5th binding whose name is just one char
107   --> $DIR/non_expressive_names.rs:116:17
108    |
109 LL |             let e: i32;
110    |                 ^
111    |
112    = note: `-D clippy::many-single-char-names` implied by `-D warnings`
113
114 error: 5th binding whose name is just one char
115   --> $DIR/non_expressive_names.rs:119:17
116    |
117 LL |             let e: i32;
118    |                 ^
119
120 error: 6th binding whose name is just one char
121   --> $DIR/non_expressive_names.rs:120:17
122    |
123 LL |             let f: i32;
124    |                 ^
125
126 error: 5th binding whose name is just one char
127   --> $DIR/non_expressive_names.rs:124:13
128    |
129 LL |             e => panic!(),
130    |             ^
131
132 error: consider choosing a more descriptive name
133   --> $DIR/non_expressive_names.rs:134:9
134    |
135 LL |     let _1 = 1; //~ERROR Consider a more descriptive name
136    |         ^^
137    |
138    = note: `-D clippy::just-underscores-and-digits` implied by `-D warnings`
139
140 error: consider choosing a more descriptive name
141   --> $DIR/non_expressive_names.rs:135:9
142    |
143 LL |     let ____1 = 1; //~ERROR Consider a more descriptive name
144    |         ^^^^^
145
146 error: consider choosing a more descriptive name
147   --> $DIR/non_expressive_names.rs:136:9
148    |
149 LL |     let __1___2 = 12; //~ERROR Consider a more descriptive name
150    |         ^^^^^^^
151
152 error: consider choosing a more descriptive name
153   --> $DIR/non_expressive_names.rs:156:13
154    |
155 LL |         let _1 = 1;
156    |             ^^
157
158 error: consider choosing a more descriptive name
159   --> $DIR/non_expressive_names.rs:157:13
160    |
161 LL |         let ____1 = 1;
162    |             ^^^^^
163
164 error: consider choosing a more descriptive name
165   --> $DIR/non_expressive_names.rs:158:13
166    |
167 LL |         let __1___2 = 12;
168    |             ^^^^^^^
169
170 error: aborting due to 17 previous errors
171