diagnostics: mismatched pattern field: suggest ".." instead of "_" #80010
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-patterns
Relating to patterns and pattern matching
A-suggestion-diagnostics
Area: Suggestions generated by the compiler applied by `cargo fix`
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
D-papercut
Diagnostics: An error or lint that needs small tweaks.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
trying to ignore the inner fields with
ty::Ref(_)
does not work because it has 3 fields.The message could suggest
Ref(..)
if there are multiple fields and it thinks we don't want to bind any:The text was updated successfully, but these errors were encountered: