Skip to content

Commit b0e6638

Browse files
committed
update tests
1 parent 1d8a4d1 commit b0e6638

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

src/test/ui/lint/unused_parens_json_suggestion.stderr

+3
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
],
2525
"label": null,
2626
"suggested_replacement": null,
27+
"suggestion_applicability": null,
2728
"expansion": null
2829
}
2930
],
@@ -51,6 +52,7 @@
5152
],
5253
"label": null,
5354
"suggested_replacement": null,
55+
"suggestion_applicability": null,
5456
"expansion": null
5557
}
5658
],
@@ -80,6 +82,7 @@
8082
],
8183
"label": null,
8284
"suggested_replacement": "1 / (2 + 3)",
85+
"suggestion_applicability": "Unspecified",
8386
"expansion": null
8487
}
8588
],

src/test/ui/lint/use_suggestion_json.stderr

+13
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ mod foo {
8989
],
9090
"label": "not found in this scope",
9191
"suggested_replacement": null,
92+
"suggestion_applicability": null,
9293
"expansion": null
9394
}
9495
],
@@ -118,6 +119,7 @@ mod foo {
118119
"suggested_replacement": "use std::collections::binary_heap::Iter;
119120

120121
",
122+
"suggestion_applicability": "Unspecified",
121123
"expansion": null
122124
},
123125
{
@@ -140,6 +142,7 @@ mod foo {
140142
"suggested_replacement": "use std::collections::btree_map::Iter;
141143

142144
",
145+
"suggestion_applicability": "Unspecified",
143146
"expansion": null
144147
},
145148
{
@@ -162,6 +165,7 @@ mod foo {
162165
"suggested_replacement": "use std::collections::btree_set::Iter;
163166

164167
",
168+
"suggestion_applicability": "Unspecified",
165169
"expansion": null
166170
},
167171
{
@@ -184,6 +188,7 @@ mod foo {
184188
"suggested_replacement": "use std::collections::hash_map::Iter;
185189

186190
",
191+
"suggestion_applicability": "Unspecified",
187192
"expansion": null
188193
},
189194
{
@@ -206,6 +211,7 @@ mod foo {
206211
"suggested_replacement": "use std::collections::hash_set::Iter;
207212

208213
",
214+
"suggestion_applicability": "Unspecified",
209215
"expansion": null
210216
},
211217
{
@@ -228,6 +234,7 @@ mod foo {
228234
"suggested_replacement": "use std::collections::linked_list::Iter;
229235

230236
",
237+
"suggestion_applicability": "Unspecified",
231238
"expansion": null
232239
},
233240
{
@@ -250,6 +257,7 @@ mod foo {
250257
"suggested_replacement": "use std::collections::vec_deque::Iter;
251258

252259
",
260+
"suggestion_applicability": "Unspecified",
253261
"expansion": null
254262
},
255263
{
@@ -272,6 +280,7 @@ mod foo {
272280
"suggested_replacement": "use std::option::Iter;
273281

274282
",
283+
"suggestion_applicability": "Unspecified",
275284
"expansion": null
276285
},
277286
{
@@ -294,6 +303,7 @@ mod foo {
294303
"suggested_replacement": "use std::path::Iter;
295304

296305
",
306+
"suggestion_applicability": "Unspecified",
297307
"expansion": null
298308
},
299309
{
@@ -316,6 +326,7 @@ mod foo {
316326
"suggested_replacement": "use std::result::Iter;
317327

318328
",
329+
"suggestion_applicability": "Unspecified",
319330
"expansion": null
320331
},
321332
{
@@ -338,6 +349,7 @@ mod foo {
338349
"suggested_replacement": "use std::slice::Iter;
339350

340351
",
352+
"suggestion_applicability": "Unspecified",
341353
"expansion": null
342354
},
343355
{
@@ -360,6 +372,7 @@ mod foo {
360372
"suggested_replacement": "use std::sync::mpsc::Iter;
361373

362374
",
375+
"suggestion_applicability": "Unspecified",
363376
"expansion": null
364377
}
365378
],

0 commit comments

Comments
 (0)