unhelpful diagnostic regarding inferred 'static
bound
#113041
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-lifetimes
Area: Lifetimes / regions
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.
Code
Current output
Desired output
Rationale and extra context
the current error message doesn't mention where the
'static
bound comes from, making it seem very magical and not showing you where the problem actually arises. although obvious in a small example like this, it's pretty confusing in larger contexts.Other cases
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: