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