[NLL] Loss of suggestion to introduce a named lifetime parameter #96157
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-NLL
Area: Non Lexical Lifetimes (NLL)
NLL-diagnostics
Working torwads the "diagnostic parity" goal
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
In the
src/test/ui/self/arbitrary_self_types_pin_lifetime_mismatch.base.rs
test, we give the suggestion toconsider introducing a named lifetime parameter and update trait if needed
under migrate mode. Under NLL, the error message is imo clearer but we lose that suggestion.The text was updated successfully, but these errors were encountered: