Chance to improve "try ignoring the field" message #95795
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
D-papercut
Diagnostics: An error or lint that needs small tweaks.
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
E-mentor
Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I got this error message recently:
kind: _
will work, but just removingkind
completely from the pattern would be better.E.g. the suggestion could be
help: try removing the field
.The particular example was within rustc, but it should be very easy to replicate in a self-contained example.
The text was updated successfully, but these errors were encountered: