Poor diagnostic when using an if expression with missing half of binary operator #91421
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Given the following code:
The current output is:
Ideally the output would refer to either the
&&
or at least that there is an unexpected else or something 🤔The text was updated successfully, but these errors were encountered: