Erroneous suggestion to add .field
when matching arrays
#91058
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
D-invalid-suggestion
Diagnostics: A structured suggestion resulting in incorrect code.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Given this code:
The current output is:
We should suppress the
help:
suggestion in this case, since it's not possible to apply that change.The text was updated successfully, but these errors were encountered: