@@ -121,18 +121,18 @@ error[E0023]: this pattern has 1 field, but the corresponding tuple struct has 0
121121 --> $DIR/pat-tuple-field-count-cross.rs:14:12
122122 |
123123LL | Z1(x) => {}
124- | -- ^ expected 0 fields, found 1
124+ | ^ expected 0 fields, found 1
125125 |
126126 ::: $DIR/auxiliary/declarations-for-tuple-field-count-errors.rs:2:1
127127 |
128128LL | pub struct Z1();
129129 | ---------------- tuple struct has 0 fields
130130
131131error[E0023]: this pattern has 0 fields, but the corresponding tuple struct has 3 fields
132- --> $DIR/pat-tuple-field-count-cross.rs:18:10
132+ --> $DIR/pat-tuple-field-count-cross.rs:18:9
133133 |
134134LL | S() => {}
135- | - ^^ expected 3 fields, found 0
135+ | ^ ^^ expected 3 fields, found 0
136136 |
137137 ::: $DIR/auxiliary/declarations-for-tuple-field-count-errors.rs:4:14
138138 |
@@ -152,7 +152,7 @@ error[E0023]: this pattern has 1 field, but the corresponding tuple struct has 3
152152 --> $DIR/pat-tuple-field-count-cross.rs:19:11
153153 |
154154LL | S(1) => {}
155- | - ^ expected 3 fields, found 1
155+ | ^ expected 3 fields, found 1
156156 |
157157 ::: $DIR/auxiliary/declarations-for-tuple-field-count-errors.rs:4:14
158158 |
@@ -172,7 +172,7 @@ error[E0023]: this pattern has 2 fields, but the corresponding tuple struct has
172172 --> $DIR/pat-tuple-field-count-cross.rs:20:11
173173 |
174174LL | S(xyz, abc) => {}
175- | - ^^^ ^^^ expected 3 fields, found 2
175+ | ^^^ ^^^ expected 3 fields, found 2
176176 |
177177 ::: $DIR/auxiliary/declarations-for-tuple-field-count-errors.rs:4:14
178178 |
@@ -188,18 +188,18 @@ error[E0023]: this pattern has 4 fields, but the corresponding tuple struct has
188188 --> $DIR/pat-tuple-field-count-cross.rs:21:11
189189 |
190190LL | S(1, 2, 3, 4) => {}
191- | - ^ ^ ^ ^ expected 3 fields, found 4
191+ | ^ ^ ^ ^ expected 3 fields, found 4
192192 |
193193 ::: $DIR/auxiliary/declarations-for-tuple-field-count-errors.rs:4:14
194194 |
195195LL | pub struct S(pub u8, pub u8, pub u8);
196196 | ------ ------ ------ tuple struct has 3 fields
197197
198198error[E0023]: this pattern has 0 fields, but the corresponding tuple struct has 3 fields
199- --> $DIR/pat-tuple-field-count-cross.rs:24:10
199+ --> $DIR/pat-tuple-field-count-cross.rs:24:9
200200 |
201201LL | M() => {}
202- | - ^^ expected 3 fields, found 0
202+ | ^ ^^ expected 3 fields, found 0
203203 |
204204 ::: $DIR/auxiliary/declarations-for-tuple-field-count-errors.rs:5:1
205205 |
@@ -226,7 +226,7 @@ error[E0023]: this pattern has 1 field, but the corresponding tuple struct has 3
226226 --> $DIR/pat-tuple-field-count-cross.rs:25:11
227227 |
228228LL | M(1) => {}
229- | - ^ expected 3 fields, found 1
229+ | ^ expected 3 fields, found 1
230230 |
231231 ::: $DIR/auxiliary/declarations-for-tuple-field-count-errors.rs:5:1
232232 |
@@ -253,7 +253,7 @@ error[E0023]: this pattern has 2 fields, but the corresponding tuple struct has
253253 --> $DIR/pat-tuple-field-count-cross.rs:26:11
254254 |
255255LL | M(xyz, abc) => {}
256- | - ^^^ ^^^ expected 3 fields, found 2
256+ | ^^^ ^^^ expected 3 fields, found 2
257257 |
258258 ::: $DIR/auxiliary/declarations-for-tuple-field-count-errors.rs:5:1
259259 |
@@ -276,7 +276,7 @@ error[E0023]: this pattern has 4 fields, but the corresponding tuple struct has
276276 --> $DIR/pat-tuple-field-count-cross.rs:27:11
277277 |
278278LL | M(1, 2, 3, 4) => {}
279- | - ^ ^ ^ ^ expected 3 fields, found 4
279+ | ^ ^ ^ ^ expected 3 fields, found 4
280280 |
281281 ::: $DIR/auxiliary/declarations-for-tuple-field-count-errors.rs:5:1
282282 |
@@ -294,18 +294,18 @@ error[E0023]: this pattern has 1 field, but the corresponding tuple variant has
294294 --> $DIR/pat-tuple-field-count-cross.rs:36:16
295295 |
296296LL | E1::Z1(x) => {}
297- | ------ ^ expected 0 fields, found 1
297+ | ^ expected 0 fields, found 1
298298 |
299299 ::: $DIR/auxiliary/declarations-for-tuple-field-count-errors.rs:11:19
300300 |
301301LL | pub enum E1 { Z0, Z1(), S(u8, u8, u8) }
302302 | ---- tuple variant has 0 fields
303303
304304error[E0023]: this pattern has 0 fields, but the corresponding tuple variant has 3 fields
305- --> $DIR/pat-tuple-field-count-cross.rs:39:14
305+ --> $DIR/pat-tuple-field-count-cross.rs:39:9
306306 |
307307LL | E1::S() => {}
308- | ----- ^^ expected 3 fields, found 0
308+ | ^^^^^ ^^ expected 3 fields, found 0
309309 |
310310 ::: $DIR/auxiliary/declarations-for-tuple-field-count-errors.rs:11:27
311311 |
@@ -325,7 +325,7 @@ error[E0023]: this pattern has 1 field, but the corresponding tuple variant has
325325 --> $DIR/pat-tuple-field-count-cross.rs:40:15
326326 |
327327LL | E1::S(1) => {}
328- | ----- ^ expected 3 fields, found 1
328+ | ^ expected 3 fields, found 1
329329 |
330330 ::: $DIR/auxiliary/declarations-for-tuple-field-count-errors.rs:11:27
331331 |
@@ -345,7 +345,7 @@ error[E0023]: this pattern has 2 fields, but the corresponding tuple variant has
345345 --> $DIR/pat-tuple-field-count-cross.rs:41:15
346346 |
347347LL | E1::S(xyz, abc) => {}
348- | ----- ^^^ ^^^ expected 3 fields, found 2
348+ | ^^^ ^^^ expected 3 fields, found 2
349349 |
350350 ::: $DIR/auxiliary/declarations-for-tuple-field-count-errors.rs:11:27
351351 |
@@ -361,18 +361,18 @@ error[E0023]: this pattern has 4 fields, but the corresponding tuple variant has
361361 --> $DIR/pat-tuple-field-count-cross.rs:42:15
362362 |
363363LL | E1::S(1, 2, 3, 4) => {}
364- | ----- ^ ^ ^ ^ expected 3 fields, found 4
364+ | ^ ^ ^ ^ expected 3 fields, found 4
365365 |
366366 ::: $DIR/auxiliary/declarations-for-tuple-field-count-errors.rs:11:27
367367 |
368368LL | pub enum E1 { Z0, Z1(), S(u8, u8, u8) }
369369 | -- -- -- tuple variant has 3 fields
370370
371371error[E0023]: this pattern has 0 fields, but the corresponding tuple variant has 3 fields
372- --> $DIR/pat-tuple-field-count-cross.rs:46:14
372+ --> $DIR/pat-tuple-field-count-cross.rs:46:9
373373 |
374374LL | E2::S() => {}
375- | ----- ^^ expected 3 fields, found 0
375+ | ^^^^^ ^^ expected 3 fields, found 0
376376 |
377377 ::: $DIR/auxiliary/declarations-for-tuple-field-count-errors.rs:14:7
378378 |
@@ -392,7 +392,7 @@ error[E0023]: this pattern has 1 field, but the corresponding tuple variant has
392392 --> $DIR/pat-tuple-field-count-cross.rs:47:15
393393 |
394394LL | E2::S(1) => {}
395- | ----- ^ expected 3 fields, found 1
395+ | ^ expected 3 fields, found 1
396396 |
397397 ::: $DIR/auxiliary/declarations-for-tuple-field-count-errors.rs:14:7
398398 |
@@ -412,7 +412,7 @@ error[E0023]: this pattern has 2 fields, but the corresponding tuple variant has
412412 --> $DIR/pat-tuple-field-count-cross.rs:48:15
413413 |
414414LL | E2::S(xyz, abc) => {}
415- | ----- ^^^ ^^^ expected 3 fields, found 2
415+ | ^^^ ^^^ expected 3 fields, found 2
416416 |
417417 ::: $DIR/auxiliary/declarations-for-tuple-field-count-errors.rs:14:7
418418 |
@@ -428,18 +428,18 @@ error[E0023]: this pattern has 4 fields, but the corresponding tuple variant has
428428 --> $DIR/pat-tuple-field-count-cross.rs:49:15
429429 |
430430LL | E2::S(1, 2, 3, 4) => {}
431- | ----- ^ ^ ^ ^ expected 3 fields, found 4
431+ | ^ ^ ^ ^ expected 3 fields, found 4
432432 |
433433 ::: $DIR/auxiliary/declarations-for-tuple-field-count-errors.rs:14:7
434434 |
435435LL | S(u8, u8, u8),
436436 | -- -- -- tuple variant has 3 fields
437437
438438error[E0023]: this pattern has 0 fields, but the corresponding tuple variant has 3 fields
439- --> $DIR/pat-tuple-field-count-cross.rs:52:14
439+ --> $DIR/pat-tuple-field-count-cross.rs:52:9
440440 |
441441LL | E2::M() => {}
442- | ----- ^^ expected 3 fields, found 0
442+ | ^^^^^ ^^ expected 3 fields, found 0
443443 |
444444 ::: $DIR/auxiliary/declarations-for-tuple-field-count-errors.rs:15:5
445445 |
@@ -466,7 +466,7 @@ error[E0023]: this pattern has 1 field, but the corresponding tuple variant has
466466 --> $DIR/pat-tuple-field-count-cross.rs:53:15
467467 |
468468LL | E2::M(1) => {}
469- | ----- ^ expected 3 fields, found 1
469+ | ^ expected 3 fields, found 1
470470 |
471471 ::: $DIR/auxiliary/declarations-for-tuple-field-count-errors.rs:15:5
472472 |
@@ -493,7 +493,7 @@ error[E0023]: this pattern has 2 fields, but the corresponding tuple variant has
493493 --> $DIR/pat-tuple-field-count-cross.rs:54:15
494494 |
495495LL | E2::M(xyz, abc) => {}
496- | ----- ^^^ ^^^ expected 3 fields, found 2
496+ | ^^^ ^^^ expected 3 fields, found 2
497497 |
498498 ::: $DIR/auxiliary/declarations-for-tuple-field-count-errors.rs:15:5
499499 |
@@ -516,7 +516,7 @@ error[E0023]: this pattern has 4 fields, but the corresponding tuple variant has
516516 --> $DIR/pat-tuple-field-count-cross.rs:55:15
517517 |
518518LL | E2::M(1, 2, 3, 4) => {}
519- | ----- ^ ^ ^ ^ expected 3 fields, found 4
519+ | ^ ^ ^ ^ expected 3 fields, found 4
520520 |
521521 ::: $DIR/auxiliary/declarations-for-tuple-field-count-errors.rs:15:5
522522 |
0 commit comments