Account for existing _ field pattern when suggesting ..

Follow up to #80017.
This commit is contained in:
Esteban Küber 2021-01-26 16:53:56 -08:00
parent 7907345e58
commit a398994cb2
2 changed files with 17 additions and 9 deletions

View file

@ -122,8 +122,8 @@ LL | Point4( a , _ , _, _) => {}
| ^^^^^^
help: use `..` to ignore the rest of the fields
|
LL | Point4( a , _ , ..) => {}
| ^^^^
LL | Point4( a, ..) => {}
| ^^^^
error: aborting due to 8 previous errors