-
Notifications
You must be signed in to change notification settings - Fork 13.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
..
in tuple-like patterns (tracking issue for RFC 1492)
#33627
Comments
I'll rebase #32079 this weekend. |
cc rust-lang#33627 r? @nikomatsakis plugin-[breaking-change] cc rust-lang#31645 @Manishearth
cc rust-lang#33627 r? @nikomatsakis plugin-[breaking-change] cc rust-lang#31645 @Manishearth
I don't see neither anything preventing stabilization of this feature, nor strong motivation to stabilize it immediately. |
Replace `_, _` with `..` in patterns This is how #33627 looks in action. Looks especially nice in leftmost/rightmost positions `(first, ..)`/`(.., last)`. I haven't touched libsyntax intentionally because the feature is still unstable.
@rfcbot fcp merge I propose that we stabilize this feature. There are no known blockers or interactions and it is a minor extension to existing syntax. |
FCP proposed with disposition to merge. Review requested from: No concerns currently listed. |
All relevant subteam members have reviewed. No concerns remain. |
It has been one week since all blocks to the FCP were resolved. |
🔔 This feature is undergoing its final comment period with disposition to stabilize 🔔 |
The release is coming up, and this has not exactly been a controversial topic, so we've decide to make it official and approve this for stabilization. |
Stabilize `..` in tuple (struct) patterns I'd like to nominate `..` in tuple and tuple struct patterns for stabilization. This feature is a relatively small extension to existing stable functionality and doesn't have known blockers. The feature first appeared in Rust 1.10 6 months ago. An example of use: #36203 Closes #33627 r? @nikomatsakis
Stabilize `..` in tuple (struct) patterns I'd like to nominate `..` in tuple and tuple struct patterns for stabilization. This feature is a relatively small extension to existing stable functionality and doesn't have known blockers. The feature first appeared in Rust 1.10 6 months ago. An example of use: #36203 Closes #33627 r? @nikomatsakis
Tracking issue for rust-lang/rfcs#1492
The text was updated successfully, but these errors were encountered: