1
1
error: this block is too nested
2
- --> $DIR/excessive_nesting.rs:20 :25
2
+ --> $DIR/excessive_nesting.rs:21 :25
3
3
|
4
4
LL | let w = { 3 };
5
5
| ^^^^^
@@ -8,7 +8,7 @@ LL | let w = { 3 };
8
8
= note: `-D clippy::excessive-nesting` implied by `-D warnings`
9
9
10
10
error: this block is too nested
11
- --> $DIR/excessive_nesting.rs:66 :17
11
+ --> $DIR/excessive_nesting.rs:67 :17
12
12
|
13
13
LL | / impl C {
14
14
LL | | pub fn c() {}
@@ -18,15 +18,15 @@ LL | | }
18
18
= help: try refactoring your code to minimize nesting
19
19
20
20
error: this block is too nested
21
- --> $DIR/excessive_nesting.rs:80 :25
21
+ --> $DIR/excessive_nesting.rs:81 :25
22
22
|
23
23
LL | let x = { 1 }; // not a warning, but cc is
24
24
| ^^^^^
25
25
|
26
26
= help: try refactoring your code to minimize nesting
27
27
28
28
error: this block is too nested
29
- --> $DIR/excessive_nesting.rs:97 :17
29
+ --> $DIR/excessive_nesting.rs:98 :17
30
30
|
31
31
LL | / pub mod e {
32
32
LL | | pub mod f {}
@@ -36,31 +36,31 @@ LL | | } // not here
36
36
= help: try refactoring your code to minimize nesting
37
37
38
38
error: this block is too nested
39
- --> $DIR/excessive_nesting.rs:110 :18
39
+ --> $DIR/excessive_nesting.rs:111 :18
40
40
|
41
41
LL | a_but_not({{{{{{{{0}}}}}}}});
42
42
| ^^^^^^^^^^^
43
43
|
44
44
= help: try refactoring your code to minimize nesting
45
45
46
46
error: this block is too nested
47
- --> $DIR/excessive_nesting.rs:111 :12
47
+ --> $DIR/excessive_nesting.rs:112 :12
48
48
|
49
49
LL | a.a({{{{{{{{{0}}}}}}}}});
50
50
| ^^^^^^^^^^^^^
51
51
|
52
52
= help: try refactoring your code to minimize nesting
53
53
54
54
error: this block is too nested
55
- --> $DIR/excessive_nesting.rs:112 :12
55
+ --> $DIR/excessive_nesting.rs:113 :12
56
56
|
57
57
LL | (0, {{{{{{{1}}}}}}});
58
58
| ^^^^^^^^^
59
59
|
60
60
= help: try refactoring your code to minimize nesting
61
61
62
62
error: this block is too nested
63
- --> $DIR/excessive_nesting.rs:117 :25
63
+ --> $DIR/excessive_nesting.rs:118 :25
64
64
|
65
65
LL | if true {
66
66
| _________________________^
@@ -73,7 +73,7 @@ LL | | }
73
73
= help: try refactoring your code to minimize nesting
74
74
75
75
error: this block is too nested
76
- --> $DIR/excessive_nesting.rs:129 :29
76
+ --> $DIR/excessive_nesting.rs:130 :29
77
77
|
78
78
LL | let z = (|| {
79
79
| _____________________________^
@@ -85,207 +85,207 @@ LL | | })();
85
85
= help: try refactoring your code to minimize nesting
86
86
87
87
error: this block is too nested
88
- --> $DIR/excessive_nesting.rs:148 :13
88
+ --> $DIR/excessive_nesting.rs:149 :13
89
89
|
90
90
LL | y += {{{{{5}}}}};
91
91
| ^^^^^
92
92
|
93
93
= help: try refactoring your code to minimize nesting
94
94
95
95
error: this block is too nested
96
- --> $DIR/excessive_nesting.rs:149 :20
96
+ --> $DIR/excessive_nesting.rs:150 :20
97
97
|
98
98
LL | let z = y + {{{{{{{{{5}}}}}}}}};
99
99
| ^^^^^^^^^^^^^
100
100
|
101
101
= help: try refactoring your code to minimize nesting
102
102
103
103
error: this block is too nested
104
- --> $DIR/excessive_nesting.rs:150 :12
104
+ --> $DIR/excessive_nesting.rs:151 :12
105
105
|
106
106
LL | [0, {{{{{{{{{{0}}}}}}}}}}];
107
107
| ^^^^^^^^^^^^^^^
108
108
|
109
109
= help: try refactoring your code to minimize nesting
110
110
111
111
error: this block is too nested
112
- --> $DIR/excessive_nesting.rs:151 :25
112
+ --> $DIR/excessive_nesting.rs:152 :25
113
113
|
114
114
LL | let mut xx = [0; {{{{{{{{100}}}}}}}}];
115
115
| ^^^^^^^^^^^^^
116
116
|
117
117
= help: try refactoring your code to minimize nesting
118
118
119
119
error: this block is too nested
120
- --> $DIR/excessive_nesting.rs:152 :11
120
+ --> $DIR/excessive_nesting.rs:153 :11
121
121
|
122
122
LL | xx[{{{{{{{{{{{{{{{{{{{{{{{{3}}}}}}}}}}}}}}}}}}}}}}}}];
123
123
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
124
124
|
125
125
= help: try refactoring your code to minimize nesting
126
126
127
127
error: this block is too nested
128
- --> $DIR/excessive_nesting.rs:153 :13
128
+ --> $DIR/excessive_nesting.rs:154 :13
129
129
|
130
130
LL | &mut {{{{{{{{{{y}}}}}}}}}};
131
131
| ^^^^^^^^^^^^^^^
132
132
|
133
133
= help: try refactoring your code to minimize nesting
134
134
135
135
error: this block is too nested
136
- --> $DIR/excessive_nesting.rs:155 :17
136
+ --> $DIR/excessive_nesting.rs:156 :17
137
137
|
138
138
LL | for i in {{{{xx}}}} {{{{{{{{}}}}}}}}
139
139
| ^^^^
140
140
|
141
141
= help: try refactoring your code to minimize nesting
142
142
143
143
error: this block is too nested
144
- --> $DIR/excessive_nesting.rs:155 :28
144
+ --> $DIR/excessive_nesting.rs:156 :28
145
145
|
146
146
LL | for i in {{{{xx}}}} {{{{{{{{}}}}}}}}
147
147
| ^^^^^^^^^^
148
148
|
149
149
= help: try refactoring your code to minimize nesting
150
150
151
151
error: this block is too nested
152
- --> $DIR/excessive_nesting.rs:157 :28
152
+ --> $DIR/excessive_nesting.rs:158 :28
153
153
|
154
154
LL | while let Some(i) = {{{{{{Some(1)}}}}}} {{{{{{{}}}}}}}
155
155
| ^^^^^^^^^^^^^
156
156
|
157
157
= help: try refactoring your code to minimize nesting
158
158
159
159
error: this block is too nested
160
- --> $DIR/excessive_nesting.rs:157 :48
160
+ --> $DIR/excessive_nesting.rs:158 :48
161
161
|
162
162
LL | while let Some(i) = {{{{{{Some(1)}}}}}} {{{{{{{}}}}}}}
163
163
| ^^^^^^^^
164
164
|
165
165
= help: try refactoring your code to minimize nesting
166
166
167
167
error: this block is too nested
168
- --> $DIR/excessive_nesting.rs:159 :14
168
+ --> $DIR/excessive_nesting.rs:160 :14
169
169
|
170
170
LL | while {{{{{{{{true}}}}}}}} {{{{{{{{{}}}}}}}}}
171
171
| ^^^^^^^^^^^^^^
172
172
|
173
173
= help: try refactoring your code to minimize nesting
174
174
175
175
error: this block is too nested
176
- --> $DIR/excessive_nesting.rs:159 :35
176
+ --> $DIR/excessive_nesting.rs:160 :35
177
177
|
178
178
LL | while {{{{{{{{true}}}}}}}} {{{{{{{{{}}}}}}}}}
179
179
| ^^^^^^^^^^^^
180
180
|
181
181
= help: try refactoring your code to minimize nesting
182
182
183
183
error: this block is too nested
184
- --> $DIR/excessive_nesting.rs:161 :23
184
+ --> $DIR/excessive_nesting.rs:162 :23
185
185
|
186
186
LL | let d = D { d: {{{{{{{{{{{{{{{{{{{{{{{3}}}}}}}}}}}}}}}}}}}}}}} };
187
187
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
188
188
|
189
189
= help: try refactoring your code to minimize nesting
190
190
191
191
error: this block is too nested
192
- --> $DIR/excessive_nesting.rs:163 :8
192
+ --> $DIR/excessive_nesting.rs:164 :8
193
193
|
194
194
LL | {{{{1;}}}}..{{{{{{3}}}}}};
195
195
| ^^^^
196
196
|
197
197
= help: try refactoring your code to minimize nesting
198
198
199
199
error: this block is too nested
200
- --> $DIR/excessive_nesting.rs:163 :20
200
+ --> $DIR/excessive_nesting.rs:164 :20
201
201
|
202
202
LL | {{{{1;}}}}..{{{{{{3}}}}}};
203
203
| ^^^^^^^
204
204
|
205
205
= help: try refactoring your code to minimize nesting
206
206
207
207
error: this block is too nested
208
- --> $DIR/excessive_nesting.rs:164 :8
208
+ --> $DIR/excessive_nesting.rs:165 :8
209
209
|
210
210
LL | {{{{1;}}}}..={{{{{{{{{{{{{{{{{{{{{{{{{{6}}}}}}}}}}}}}}}}}}}}}}}}}};
211
211
| ^^^^
212
212
|
213
213
= help: try refactoring your code to minimize nesting
214
214
215
215
error: this block is too nested
216
- --> $DIR/excessive_nesting.rs:164 :21
216
+ --> $DIR/excessive_nesting.rs:165 :21
217
217
|
218
218
LL | {{{{1;}}}}..={{{{{{{{{{{{{{{{{{{{{{{{{{6}}}}}}}}}}}}}}}}}}}}}}}}}};
219
219
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
220
220
|
221
221
= help: try refactoring your code to minimize nesting
222
222
223
223
error: this block is too nested
224
- --> $DIR/excessive_nesting.rs:165 :10
224
+ --> $DIR/excessive_nesting.rs:166 :10
225
225
|
226
226
LL | ..{{{{{{{5}}}}}}};
227
227
| ^^^^^^^^^
228
228
|
229
229
= help: try refactoring your code to minimize nesting
230
230
231
231
error: this block is too nested
232
- --> $DIR/excessive_nesting.rs:166 :11
232
+ --> $DIR/excessive_nesting.rs:167 :11
233
233
|
234
234
LL | ..={{{{{3}}}}};
235
235
| ^^^^^
236
236
|
237
237
= help: try refactoring your code to minimize nesting
238
238
239
239
error: this block is too nested
240
- --> $DIR/excessive_nesting.rs:167 :8
240
+ --> $DIR/excessive_nesting.rs:168 :8
241
241
|
242
242
LL | {{{{{1;}}}}}..;
243
243
| ^^^^^^
244
244
|
245
245
= help: try refactoring your code to minimize nesting
246
246
247
247
error: this block is too nested
248
- --> $DIR/excessive_nesting.rs:169 :20
248
+ --> $DIR/excessive_nesting.rs:170 :20
249
249
|
250
250
LL | loop { break {{{{1}}}} };
251
251
| ^^^^^
252
252
|
253
253
= help: try refactoring your code to minimize nesting
254
254
255
255
error: this block is too nested
256
- --> $DIR/excessive_nesting.rs:170 :13
256
+ --> $DIR/excessive_nesting.rs:171 :13
257
257
|
258
258
LL | loop {{{{{{}}}}}}
259
259
| ^^^^^^
260
260
|
261
261
= help: try refactoring your code to minimize nesting
262
262
263
263
error: this block is too nested
264
- --> $DIR/excessive_nesting.rs:172 :14
264
+ --> $DIR/excessive_nesting.rs:173 :14
265
265
|
266
266
LL | match {{{{{{true}}}}}} {
267
267
| ^^^^^^^^^^
268
268
|
269
269
= help: try refactoring your code to minimize nesting
270
270
271
271
error: this block is too nested
272
- --> $DIR/excessive_nesting.rs:173 :20
272
+ --> $DIR/excessive_nesting.rs:174 :20
273
273
|
274
274
LL | true => {{{{}}}},
275
275
| ^^
276
276
|
277
277
= help: try refactoring your code to minimize nesting
278
278
279
279
error: this block is too nested
280
- --> $DIR/excessive_nesting.rs:174 :21
280
+ --> $DIR/excessive_nesting.rs:175 :21
281
281
|
282
282
LL | false => {{{{}}}},
283
283
| ^^
284
284
|
285
285
= help: try refactoring your code to minimize nesting
286
286
287
287
error: this block is too nested
288
- --> $DIR/excessive_nesting.rs:180 :17
288
+ --> $DIR/excessive_nesting.rs:181 :17
289
289
|
290
290
LL | / {
291
291
LL | | println!("warning! :)");
@@ -295,15 +295,15 @@ LL | | }
295
295
= help: try refactoring your code to minimize nesting
296
296
297
297
error: this block is too nested
298
- --> $DIR/excessive_nesting.rs:189 :28
298
+ --> $DIR/excessive_nesting.rs:190 :28
299
299
|
300
300
LL | async fn c() -> u32 {{{{{{{0}}}}}}}
301
301
| ^^^^^^^^^
302
302
|
303
303
= help: try refactoring your code to minimize nesting
304
304
305
305
error: this block is too nested
306
- --> $DIR/excessive_nesting.rs:195 :8
306
+ --> $DIR/excessive_nesting.rs:196 :8
307
307
|
308
308
LL | {{{{b().await}}}};
309
309
| ^^^^^^^^^^^
0 commit comments