Closed
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.
Metadata
Metadata
Assignees
Labels
Area: Non-lexical lifetimes (NLL)Relating to patterns and pattern matchingBlocker: Implemented in the nightly compiler and unstable.Category: An issue tracking the progress of sth. like the implementation of an RFCCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.`#![feature(move_ref_pattern)]`Working towards the "valid code works" goalRelevant to the language team