-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Open
Labels
A-NLLArea: Non-lexical lifetimes (NLL)Area: Non-lexical lifetimes (NLL)A-borrow-checkerArea: The borrow checkerArea: The borrow checkerA-lifetimesArea: Lifetimes / regionsArea: Lifetimes / regionsNLL-referenceReference material for NLLReference material for NLLP-mediumMedium priorityMedium priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Description
The NLL RFC provided a specification for what we planned to implement. (Or at least it tried to do so.)
Since then, the NLL implementation made something that deviated in various ways from that specification.
This ticket is just noting that:
- we did deviate in various ways, and
- we should plan to document the actual semantics, in a manner suitable for the rust reference.
It would be good to link to here any PRs/issues where such deviations were implemented or discussed
Metadata
Metadata
Assignees
Labels
A-NLLArea: Non-lexical lifetimes (NLL)Area: Non-lexical lifetimes (NLL)A-borrow-checkerArea: The borrow checkerArea: The borrow checkerA-lifetimesArea: Lifetimes / regionsArea: Lifetimes / regionsNLL-referenceReference material for NLLReference material for NLLP-mediumMedium priorityMedium priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.