Misleading error message for remove explicit elided lifetime #127585
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
Current output
Desired output
It should point to the `Reader<'_>` and tell me to remove `<'_>`.
Rationale and extra context
This is the Bevy PR that caused the issue: bevyengine/bevy#14082 . See bevyengine/bevy#14082 (comment) .
The only change relevant here was
&mut Reader
->&mut dyn Reader
.Other cases
No response
Rust Version
Anything else?
No response
The text was updated successfully, but these errors were encountered: