Type inference error involving inference from a break; reports an incorrect line number in the diagnostic #141788
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.
Code
Current output
Desired output
Rationale and extra context
The diagnostic makes it look like the conflicting line (8) in this case, is the same line that it conflicts with (also 8).
Other cases
Rust Version
Anything else?
No response
The text was updated successfully, but these errors were encountered: