Missing explicit lifetime in associated type suggests introducing invalid higher-ranked lifetime #122025
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-suggestion-diagnostics
Area: Suggestions generated by the compiler applied by `cargo fix`
D-invalid-suggestion
Diagnostics: A structured suggestion resulting in incorrect code.
S-has-mcve
Status: A Minimal Complete and Verifiable Example has been found for this issue
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
If you try to follow the suggested help text, it just gets you another error:
i.e. it's not the correct course of action here
Other cases
No response
Rust Version
Anything else?
No response
The text was updated successfully, but these errors were encountered: