-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Tracking Issue for match ergonomics 2024 (RFC 3627) #123076
Copy link
Copy link
Open
Labels
A-patternsRelating to patterns and pattern matchingRelating to patterns and pattern matchingB-RFC-approvedBlocker: Approved by a merged RFC but not yet implemented.Blocker: Approved by a merged RFC but not yet implemented.B-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 RFCT-langRelevant to the language teamRelevant to the language team
Metadata
Metadata
Assignees
Labels
A-patternsRelating to patterns and pattern matchingRelating to patterns and pattern matchingB-RFC-approvedBlocker: Approved by a merged RFC but not yet implemented.Blocker: Approved by a merged RFC but not yet implemented.B-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 RFCT-langRelevant to the language teamRelevant to the language team
Type
Fields
Give feedbackNo fields configured for issues without a type.
This is a tracking issue for changes to match ergonomics for the 2024 edition, as described in rust-lang/rfcs#3627.
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
mut ref/mut ref mut(#![feature(mut_ref)]) Match ergonomics 2024: implement mutable by-reference bindings #123080ref (mut/ref mut (mut?)&and&mutpatterns (#![feature(ref_pat_eat_one_layer_2024, ref_pat_eat_one_layer_2024_structural)]) Match ergonomics 2024: Implement eat-one-layer #123512&patterns to consume&mutreferences Match ergonomics 2024: let&patterns eat&mut#124567mutwith edition >= 2024 Match ergonomics 2024:mutdoesn't reset binding mode #123535Tracking for Rust 2024 changes:
Unresolved Questions
mut ref mutvsref mut (mutsyntaxSee also #105647, #64586
@rustbot label T-lang A-patterns A-edition-2024