Multiple errors for the same missing mut
#53466
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
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.
For the following program
rustc shows two errors:
These are not exactly the same, but still pretty much a duplicate.
it would be nice if rustc could avoid complaining about the same thing twice here.
The text was updated successfully, but these errors were encountered: