Account for existing _ field pattern when suggesting ..
Follow up to #80017.
This commit is contained in:
parent
7907345e58
commit
a398994cb2
2 changed files with 17 additions and 9 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue