/ rust Public
Error when concrete type doesn't satisfy impl trait is poorly spanned #80583
Area: Messages for errors, warnings, and lints
Area: impl Trait. Universally / existentially quantified anonymous types with static dispatch.
A diagnostic that doesn't give enough information about the problem at hand
Relevant to the compiler team, which will review and decide on the PR/issue.
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: