Open
Description
Spawned off of #46887 (comment): While our short term solution for two-phase borrow support (#46037) is to make it as conservative as we can (e.g. the still planned #46747), the reality is that its complex and needs a specification.
(It might even be worth the exercise of adding them to the https://github.com/nikomatsakis/borrowck model )
Metadata
Metadata
Assignees
Labels
Area: Non-lexical lifetimes (NLL)Category: An issue proposing an enhancement or a PR with one.Call for participation: Hard difficulty. Experience needed to fix: A lot.Reference material for NLLMedium priorityRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the language team, which will review and decide on the PR/issue.