-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-NLLArea: Non-lexical lifetimes (NLL)Area: Non-lexical lifetimes (NLL)A-patternsRelating to patterns and pattern matchingRelating to patterns and pattern matchingB-unstableBlocker: Implemented in the nightly compiler and unstable.Blocker: Implemented in the nightly compiler and unstable.C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCE-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.F-move_ref_pattern`#![feature(move_ref_pattern)]``#![feature(move_ref_pattern)]`NLL-completeWorking towards the "valid code works" goalWorking towards the "valid code works" goalT-langRelevant to the language teamRelevant to the language team
Description
This is the tracking issue for #![feature(move_ref_pattern)]
, which allows patterns containing both by-ref and by-move bindings at the same time. For example: (ref x, y, ref mut z)
.
Implementation history
- On 2020-02-09, the implementation of the feature in Initial implementation of
#![feature(move_ref_pattern)]
#68376 landed, thereby fixing Pattern errors are too imprecise and should be removed in favor of MIR borrowck #45600. The PR was written by @Centril and reviewed by @matthewjasper.
stanislav-tkach, leoyvens, hlb8122, gentoid, connorskees and 6 morejjpe, MaxNanasy, marmeladema, alexander-irbis, tema3210 and 2 morehlb8122
Metadata
Metadata
Assignees
Labels
A-NLLArea: Non-lexical lifetimes (NLL)Area: Non-lexical lifetimes (NLL)A-patternsRelating to patterns and pattern matchingRelating to patterns and pattern matchingB-unstableBlocker: Implemented in the nightly compiler and unstable.Blocker: Implemented in the nightly compiler and unstable.C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCE-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.F-move_ref_pattern`#![feature(move_ref_pattern)]``#![feature(move_ref_pattern)]`NLL-completeWorking towards the "valid code works" goalWorking towards the "valid code works" goalT-langRelevant to the language teamRelevant to the language team