Error when concrete type doesn't satisfy impl trait is poorly spanned #80583
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-impl-trait
Area: `impl Trait`. Universally / existentially quantified anonymous types with static dispatch.
D-terse
Diagnostics: An error or lint that doesn't give enough information about the problem at hand.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Uh oh!
There was an error while loading. Please reload this page.
Currently emits
It should probably point to the return value as the span of the actual error, with the current span appearing in a note, e.g.
@rustbot label T-compiler A-impl-trait A-diagnostics D-terse
The text was updated successfully, but these errors were encountered: