-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-slice-patternsArea: Slice patterns, https://github.com/rust-lang/rust/issues/23121Area: Slice patterns, https://github.com/rust-lang/rust/issues/23121B-RFC-approvedBlocker: Approved by a merged RFC but not yet implemented.Blocker: Approved by a merged RFC but not yet implemented.B-RFC-implementedBlocker: Approved by a merged RFC and implemented but not stabilized.Blocker: Approved by a merged RFC and implemented but not stabilized.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 RFCF-slice_patterns`#![feature(slice_patterns)]``#![feature(slice_patterns)]`T-langRelevant to the language teamRelevant to the language team
Description
This is a tracking issue for the feature gate #![feature(slice_patterns)]
covering the following RFCs:
- "Finalize syntax for slice patterns with subslices" (RFC: Finalize syntax for slice patterns with subslices rfcs#2359),
- "Make
..
a pattern syntactically" (Mini-RFC: Make..
a pattern syntactically rfcs#2707), - "Array pattern adjustments" (RFC: Array pattern adjustments rfcs#495).
For the old tracking issue see #23121.
Steps:
- Implement the changes in RFC: Finalize syntax for slice patterns with subslices rfcs#2359 and Mini-RFC: Make
..
a pattern syntactically rfcs#2707
(cc @rust-lang/compiler -- can anyone write up mentoring instructions?) - Adjust documentation (see instructions on rustc-guide)
- Reference documentation is tracked in Document subslice patterns reference#739.
- Rustc-guide documentation is tracked in Document slice patterns rustc-dev-guide#563.
- Book documentation in the book is tracked in Document subslice patterns book#2225.
- Stabilization PR (Stabilize
#![feature(slice_patterns)]
in 1.42.0 #67712)
Unresolved questions:
None thus far.
estebank, oblitum, dmitmel, drrlvn, dnrusakov and 7 morethomasheartman, dnrusakov, novacrazy, golddranks, folex and 1 more
Metadata
Metadata
Labels
A-slice-patternsArea: Slice patterns, https://github.com/rust-lang/rust/issues/23121Area: Slice patterns, https://github.com/rust-lang/rust/issues/23121B-RFC-approvedBlocker: Approved by a merged RFC but not yet implemented.Blocker: Approved by a merged RFC but not yet implemented.B-RFC-implementedBlocker: Approved by a merged RFC and implemented but not stabilized.Blocker: Approved by a merged RFC and implemented but not stabilized.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 RFCF-slice_patterns`#![feature(slice_patterns)]``#![feature(slice_patterns)]`T-langRelevant to the language teamRelevant to the language team