Error when trait bound not satisfied for function argument should point at argument #41781
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
WG-diagnostics
Working group: Diagnostics
This yields:
When there are multiple arguments, this is much less helpful than if the span pointed at the argument in question.
The text was updated successfully, but these errors were encountered: