E0597 should highlight source of 'static
requirement
#116653
Labels
A-borrow-checker
Area: The borrow checker
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.
Uh oh!
There was an error while loading. Please reload this page.
Code
Current output
Desired output
Rationale and extra context
In large code bases with complex types it can be very hard to find where exactly a
'static
bound has been introduced.Other cases
No response
Anything else?
Some similar but distinct issues about
'static
sources are: #112519 and #113041.The text was updated successfully, but these errors were encountered: