Noisy error messages for wrong if let #54931
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
This is wrong code, the programmer forgot to add a "let" after the "if":
rustc 1.31.0-nightly (423d810 2018-10-08) gives:
Perhaps rustc could give only one smart error message in this situation?
The text was updated successfully, but these errors were encountered: