Tracking issue for Rust 2024: Match ergonomics rules 1C/2C #131414
Labels
A-edition-2024
Area: The 2024 edition
A-patterns
Relating to patterns and pattern matching
B-RFC-approved
Blocker: Approved by a merged RFC but not yet implemented.
C-tracking-issue
Category: An issue tracking the progress of sth. like the implementation of an RFC
S-tracking-ready-for-edition
Status: This issue is ready for inclusion in the edition.
T-lang
Relevant to the language team, which will review and decide on the PR/issue.
This is a tracking issue for reserving space in match ergonomics in Rust 2024 for RFC 3627 and other proposals for the future of match ergonomics.
Rules
move
(whether or not behind a reference), writingmut
,ref
, orref mut
on a binding is an error.move
.About tracking issues
Tracking issues are used to record the overall progress of implementation. They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions. A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature. Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.
Steps
&
patterns eat&mut
#124567mut
doesn't reset binding mode #123535reference
field of therust_2024_incompatible_pat
lint definition to point to the edition guide.Tracking for broader RFC 3627 work:
The text was updated successfully, but these errors were encountered: