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