rustc
suggests for<'a>
when lifetime param already exists
#123713
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-lifetimes
Area: Lifetimes / regions
A-resolve
Area: Name/path resolution done by `rustc_resolve` specifically
A-suggestion-diagnostics
Area: Suggestions generated by the compiler applied by `cargo fix`
D-incorrect
Diagnostics: A diagnostic that is giving misleading or incorrect information.
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
Following the compiler's suggestion:
Other cases
No response
Rust Version
Anything else?
No response
The text was updated successfully, but these errors were encountered: