NLL: missing suggestion to use move
keyword on closures
#51169
Labels
A-NLL
Area: Non-lexical lifetimes (NLL)
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
NLL-diagnostics
Working towards the "diagnostic parity" goal
T-lang
Relevant to the language team, which will review and decide on the PR/issue.
Milestone
In a number of tests, NLL regresses the diagnostics in that they stop including the suggestion: “to force the closure to take ownership, use the move keyword.”
This is relevant to the following
ui/
stderr test files:Update: various diagnostics have improved to the point where I can now identify them as belonging to this issue, when before they were too impoverished for me to tell. I'm adding to the list above as I discover such cases.
The text was updated successfully, but these errors were encountered: