match
arm without tail expression diverging type error has non-ideal spans
#75418
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
D-papercut
Diagnostics: An error or lint that needs small tweaks.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Given:
we emit
We should be
;
in the incompatible arm would solve the issue and suggest itThe text was updated successfully, but these errors were encountered: