Deduplicate diagnostics in if-without-else-as-fn-expr.rs
#60254
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
F-let_chains
`#![feature(let_chains)]`
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
#59288 introduces some duplicates in diagnostics in
if-without-else-as-fn-expr.rs
. Specifically, you have e.g.:We want to get rid of the first one since the second is better...
...but this is not done in #59288 since I wanted to avoid too many temporary changes for diagnostics that may get obsoleted quickly.
The text was updated successfully, but these errors were encountered: