-
-
Notifications
You must be signed in to change notification settings - Fork 16.9k
NLL: Improve move error loop detection #54015
Copy link
Copy link
Closed
Labels
A-NLLArea: Non-lexical lifetimes (NLL)Area: Non-lexical lifetimes (NLL)NLL-diagnosticsWorking towards the "diagnostic parity" goalWorking towards the "diagnostic parity" goal
Milestone
Description
Activity
Metadata
Metadata
Assignees
Labels
A-NLLArea: Non-lexical lifetimes (NLL)Area: Non-lexical lifetimes (NLL)NLL-diagnosticsWorking towards the "diagnostic parity" goalWorking towards the "diagnostic parity" goal
In #53995, errors were deduplicated and generally this kept errors with the improved "previous iteration of loop" diagnostic:
However, in one case, liveness-move-in-while.rs, the remaining error did not have the improved loop diagnostic.
From @nikomatsakis, in a comment from that PR (context mine):