[NLL] Loss of suggestions to change/fix trait object lifetime bound #96277
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-NLL
Area: Non-lexical lifetimes (NLL)
NLL-diagnostics
Working towards the "diagnostic parity" goal
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
For tests like:
In NLL mode, we loose suggestions to change trait object lifetime bound like:
or
The latter mentions a reference which is a bit wrong in this case since only
Box
-es are involved but it can probably be solved separately.In any case, we should re-instate those suggestions in NLL mode.
@rustbot label +A-NLL +NLL-diagnostics
The text was updated successfully, but these errors were encountered: