Remove unhelpful diagnostic when we suggesting for if-let #103909
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
D-verbose
Diagnostics: Too much output caused by a single piece of incorrect code.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Given the following code: https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=edb0af9c0b63ae2876296998fe8645dd
The current output is:
Ideally the output should look like:
How do we remove other diagnostics in this scenario?
The text was updated successfully, but these errors were encountered: