@@ -8,38 +8,38 @@ fn main() {
88 S ( x) => { }
99 //~^ ERROR this pattern has 1 field, but the corresponding tuple struct has 2 fields
1010 //~| HELP use `_` to explicitly ignore each field
11- //~| HELP use `..` to ignore all unmentioned fields
11+ //~| HELP use `..` to ignore the rest of the fields
1212 }
1313 match S ( 0 , 1.0 ) {
1414 S ( _) => { }
1515 //~^ ERROR this pattern has 1 field, but the corresponding tuple struct has 2 fields
1616 //~| HELP use `_` to explicitly ignore each field
17- //~| HELP use `..` to ignore all unmentioned fields
17+ //~| HELP use `..` to ignore all fields
1818 }
1919 match S ( 0 , 1.0 ) {
2020 S ( ) => { }
2121 //~^ ERROR this pattern has 0 fields, but the corresponding tuple struct has 2 fields
2222 //~| HELP use `_` to explicitly ignore each field
23- //~| HELP use `..` to ignore all unmentioned fields
23+ //~| HELP use `..` to ignore all fields
2424 }
2525
2626 match E :: S ( 0 , 1.0 ) {
2727 E :: S ( x) => { }
2828 //~^ ERROR this pattern has 1 field, but the corresponding tuple variant has 2 fields
2929 //~| HELP use `_` to explicitly ignore each field
30- //~| HELP use `..` to ignore all unmentioned fields
30+ //~| HELP use `..` to ignore the rest of the fields
3131 }
3232 match E :: S ( 0 , 1.0 ) {
3333 E :: S ( _) => { }
3434 //~^ ERROR this pattern has 1 field, but the corresponding tuple variant has 2 fields
3535 //~| HELP use `_` to explicitly ignore each field
36- //~| HELP use `..` to ignore all unmentioned fields
36+ //~| HELP use `..` to ignore all fields
3737 }
3838 match E :: S ( 0 , 1.0 ) {
3939 E :: S ( ) => { }
4040 //~^ ERROR this pattern has 0 fields, but the corresponding tuple variant has 2 fields
4141 //~| HELP use `_` to explicitly ignore each field
42- //~| HELP use `..` to ignore all unmentioned fields
42+ //~| HELP use `..` to ignore all fields
4343 }
4444 match E :: S ( 0 , 1.0 ) {
4545 E :: S => { }
0 commit comments