11error: this block is too nested
2- --> $DIR/excessive_nesting.rs:20 :25
2+ --> $DIR/excessive_nesting.rs:21 :25
33 |
44LL | let w = { 3 };
55 | ^^^^^
@@ -8,7 +8,7 @@ LL | let w = { 3 };
88 = note: `-D clippy::excessive-nesting` implied by `-D warnings`
99
1010error: this block is too nested
11- --> $DIR/excessive_nesting.rs:66 :17
11+ --> $DIR/excessive_nesting.rs:67 :17
1212 |
1313LL | / impl C {
1414LL | | pub fn c() {}
@@ -18,15 +18,15 @@ LL | | }
1818 = help: try refactoring your code to minimize nesting
1919
2020error: this block is too nested
21- --> $DIR/excessive_nesting.rs:80 :25
21+ --> $DIR/excessive_nesting.rs:81 :25
2222 |
2323LL | let x = { 1 }; // not a warning, but cc is
2424 | ^^^^^
2525 |
2626 = help: try refactoring your code to minimize nesting
2727
2828error: this block is too nested
29- --> $DIR/excessive_nesting.rs:97 :17
29+ --> $DIR/excessive_nesting.rs:98 :17
3030 |
3131LL | / pub mod e {
3232LL | | pub mod f {}
@@ -36,31 +36,31 @@ LL | | } // not here
3636 = help: try refactoring your code to minimize nesting
3737
3838error: this block is too nested
39- --> $DIR/excessive_nesting.rs:110 :18
39+ --> $DIR/excessive_nesting.rs:111 :18
4040 |
4141LL | a_but_not({{{{{{{{0}}}}}}}});
4242 | ^^^^^^^^^^^
4343 |
4444 = help: try refactoring your code to minimize nesting
4545
4646error: this block is too nested
47- --> $DIR/excessive_nesting.rs:111 :12
47+ --> $DIR/excessive_nesting.rs:112 :12
4848 |
4949LL | a.a({{{{{{{{{0}}}}}}}}});
5050 | ^^^^^^^^^^^^^
5151 |
5252 = help: try refactoring your code to minimize nesting
5353
5454error: this block is too nested
55- --> $DIR/excessive_nesting.rs:112 :12
55+ --> $DIR/excessive_nesting.rs:113 :12
5656 |
5757LL | (0, {{{{{{{1}}}}}}});
5858 | ^^^^^^^^^
5959 |
6060 = help: try refactoring your code to minimize nesting
6161
6262error: this block is too nested
63- --> $DIR/excessive_nesting.rs:117 :25
63+ --> $DIR/excessive_nesting.rs:118 :25
6464 |
6565LL | if true {
6666 | _________________________^
@@ -73,7 +73,7 @@ LL | | }
7373 = help: try refactoring your code to minimize nesting
7474
7575error: this block is too nested
76- --> $DIR/excessive_nesting.rs:129 :29
76+ --> $DIR/excessive_nesting.rs:130 :29
7777 |
7878LL | let z = (|| {
7979 | _____________________________^
@@ -85,207 +85,207 @@ LL | | })();
8585 = help: try refactoring your code to minimize nesting
8686
8787error: this block is too nested
88- --> $DIR/excessive_nesting.rs:148 :13
88+ --> $DIR/excessive_nesting.rs:149 :13
8989 |
9090LL | y += {{{{{5}}}}};
9191 | ^^^^^
9292 |
9393 = help: try refactoring your code to minimize nesting
9494
9595error: this block is too nested
96- --> $DIR/excessive_nesting.rs:149 :20
96+ --> $DIR/excessive_nesting.rs:150 :20
9797 |
9898LL | let z = y + {{{{{{{{{5}}}}}}}}};
9999 | ^^^^^^^^^^^^^
100100 |
101101 = help: try refactoring your code to minimize nesting
102102
103103error: this block is too nested
104- --> $DIR/excessive_nesting.rs:150 :12
104+ --> $DIR/excessive_nesting.rs:151 :12
105105 |
106106LL | [0, {{{{{{{{{{0}}}}}}}}}}];
107107 | ^^^^^^^^^^^^^^^
108108 |
109109 = help: try refactoring your code to minimize nesting
110110
111111error: this block is too nested
112- --> $DIR/excessive_nesting.rs:151 :25
112+ --> $DIR/excessive_nesting.rs:152 :25
113113 |
114114LL | let mut xx = [0; {{{{{{{{100}}}}}}}}];
115115 | ^^^^^^^^^^^^^
116116 |
117117 = help: try refactoring your code to minimize nesting
118118
119119error: this block is too nested
120- --> $DIR/excessive_nesting.rs:152 :11
120+ --> $DIR/excessive_nesting.rs:153 :11
121121 |
122122LL | xx[{{{{{{{{{{{{{{{{{{{{{{{{3}}}}}}}}}}}}}}}}}}}}}}}}];
123123 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
124124 |
125125 = help: try refactoring your code to minimize nesting
126126
127127error: this block is too nested
128- --> $DIR/excessive_nesting.rs:153 :13
128+ --> $DIR/excessive_nesting.rs:154 :13
129129 |
130130LL | &mut {{{{{{{{{{y}}}}}}}}}};
131131 | ^^^^^^^^^^^^^^^
132132 |
133133 = help: try refactoring your code to minimize nesting
134134
135135error: this block is too nested
136- --> $DIR/excessive_nesting.rs:155 :17
136+ --> $DIR/excessive_nesting.rs:156 :17
137137 |
138138LL | for i in {{{{xx}}}} {{{{{{{{}}}}}}}}
139139 | ^^^^
140140 |
141141 = help: try refactoring your code to minimize nesting
142142
143143error: this block is too nested
144- --> $DIR/excessive_nesting.rs:155 :28
144+ --> $DIR/excessive_nesting.rs:156 :28
145145 |
146146LL | for i in {{{{xx}}}} {{{{{{{{}}}}}}}}
147147 | ^^^^^^^^^^
148148 |
149149 = help: try refactoring your code to minimize nesting
150150
151151error: this block is too nested
152- --> $DIR/excessive_nesting.rs:157 :28
152+ --> $DIR/excessive_nesting.rs:158 :28
153153 |
154154LL | while let Some(i) = {{{{{{Some(1)}}}}}} {{{{{{{}}}}}}}
155155 | ^^^^^^^^^^^^^
156156 |
157157 = help: try refactoring your code to minimize nesting
158158
159159error: this block is too nested
160- --> $DIR/excessive_nesting.rs:157 :48
160+ --> $DIR/excessive_nesting.rs:158 :48
161161 |
162162LL | while let Some(i) = {{{{{{Some(1)}}}}}} {{{{{{{}}}}}}}
163163 | ^^^^^^^^
164164 |
165165 = help: try refactoring your code to minimize nesting
166166
167167error: this block is too nested
168- --> $DIR/excessive_nesting.rs:159 :14
168+ --> $DIR/excessive_nesting.rs:160 :14
169169 |
170170LL | while {{{{{{{{true}}}}}}}} {{{{{{{{{}}}}}}}}}
171171 | ^^^^^^^^^^^^^^
172172 |
173173 = help: try refactoring your code to minimize nesting
174174
175175error: this block is too nested
176- --> $DIR/excessive_nesting.rs:159 :35
176+ --> $DIR/excessive_nesting.rs:160 :35
177177 |
178178LL | while {{{{{{{{true}}}}}}}} {{{{{{{{{}}}}}}}}}
179179 | ^^^^^^^^^^^^
180180 |
181181 = help: try refactoring your code to minimize nesting
182182
183183error: this block is too nested
184- --> $DIR/excessive_nesting.rs:161 :23
184+ --> $DIR/excessive_nesting.rs:162 :23
185185 |
186186LL | let d = D { d: {{{{{{{{{{{{{{{{{{{{{{{3}}}}}}}}}}}}}}}}}}}}}}} };
187187 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
188188 |
189189 = help: try refactoring your code to minimize nesting
190190
191191error: this block is too nested
192- --> $DIR/excessive_nesting.rs:163 :8
192+ --> $DIR/excessive_nesting.rs:164 :8
193193 |
194194LL | {{{{1;}}}}..{{{{{{3}}}}}};
195195 | ^^^^
196196 |
197197 = help: try refactoring your code to minimize nesting
198198
199199error: this block is too nested
200- --> $DIR/excessive_nesting.rs:163 :20
200+ --> $DIR/excessive_nesting.rs:164 :20
201201 |
202202LL | {{{{1;}}}}..{{{{{{3}}}}}};
203203 | ^^^^^^^
204204 |
205205 = help: try refactoring your code to minimize nesting
206206
207207error: this block is too nested
208- --> $DIR/excessive_nesting.rs:164 :8
208+ --> $DIR/excessive_nesting.rs:165 :8
209209 |
210210LL | {{{{1;}}}}..={{{{{{{{{{{{{{{{{{{{{{{{{{6}}}}}}}}}}}}}}}}}}}}}}}}}};
211211 | ^^^^
212212 |
213213 = help: try refactoring your code to minimize nesting
214214
215215error: this block is too nested
216- --> $DIR/excessive_nesting.rs:164 :21
216+ --> $DIR/excessive_nesting.rs:165 :21
217217 |
218218LL | {{{{1;}}}}..={{{{{{{{{{{{{{{{{{{{{{{{{{6}}}}}}}}}}}}}}}}}}}}}}}}}};
219219 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
220220 |
221221 = help: try refactoring your code to minimize nesting
222222
223223error: this block is too nested
224- --> $DIR/excessive_nesting.rs:165 :10
224+ --> $DIR/excessive_nesting.rs:166 :10
225225 |
226226LL | ..{{{{{{{5}}}}}}};
227227 | ^^^^^^^^^
228228 |
229229 = help: try refactoring your code to minimize nesting
230230
231231error: this block is too nested
232- --> $DIR/excessive_nesting.rs:166 :11
232+ --> $DIR/excessive_nesting.rs:167 :11
233233 |
234234LL | ..={{{{{3}}}}};
235235 | ^^^^^
236236 |
237237 = help: try refactoring your code to minimize nesting
238238
239239error: this block is too nested
240- --> $DIR/excessive_nesting.rs:167 :8
240+ --> $DIR/excessive_nesting.rs:168 :8
241241 |
242242LL | {{{{{1;}}}}}..;
243243 | ^^^^^^
244244 |
245245 = help: try refactoring your code to minimize nesting
246246
247247error: this block is too nested
248- --> $DIR/excessive_nesting.rs:169 :20
248+ --> $DIR/excessive_nesting.rs:170 :20
249249 |
250250LL | loop { break {{{{1}}}} };
251251 | ^^^^^
252252 |
253253 = help: try refactoring your code to minimize nesting
254254
255255error: this block is too nested
256- --> $DIR/excessive_nesting.rs:170 :13
256+ --> $DIR/excessive_nesting.rs:171 :13
257257 |
258258LL | loop {{{{{{}}}}}}
259259 | ^^^^^^
260260 |
261261 = help: try refactoring your code to minimize nesting
262262
263263error: this block is too nested
264- --> $DIR/excessive_nesting.rs:172 :14
264+ --> $DIR/excessive_nesting.rs:173 :14
265265 |
266266LL | match {{{{{{true}}}}}} {
267267 | ^^^^^^^^^^
268268 |
269269 = help: try refactoring your code to minimize nesting
270270
271271error: this block is too nested
272- --> $DIR/excessive_nesting.rs:173 :20
272+ --> $DIR/excessive_nesting.rs:174 :20
273273 |
274274LL | true => {{{{}}}},
275275 | ^^
276276 |
277277 = help: try refactoring your code to minimize nesting
278278
279279error: this block is too nested
280- --> $DIR/excessive_nesting.rs:174 :21
280+ --> $DIR/excessive_nesting.rs:175 :21
281281 |
282282LL | false => {{{{}}}},
283283 | ^^
284284 |
285285 = help: try refactoring your code to minimize nesting
286286
287287error: this block is too nested
288- --> $DIR/excessive_nesting.rs:180 :17
288+ --> $DIR/excessive_nesting.rs:181 :17
289289 |
290290LL | / {
291291LL | | println!("warning! :)");
@@ -295,15 +295,15 @@ LL | | }
295295 = help: try refactoring your code to minimize nesting
296296
297297error: this block is too nested
298- --> $DIR/excessive_nesting.rs:189 :28
298+ --> $DIR/excessive_nesting.rs:190 :28
299299 |
300300LL | async fn c() -> u32 {{{{{{{0}}}}}}}
301301 | ^^^^^^^^^
302302 |
303303 = help: try refactoring your code to minimize nesting
304304
305305error: this block is too nested
306- --> $DIR/excessive_nesting.rs:195 :8
306+ --> $DIR/excessive_nesting.rs:196 :8
307307 |
308308LL | {{{{b().await}}}};
309309 | ^^^^^^^^^^^
0 commit comments