Skip to content
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

Feature gate some slice pattern features #16951

Closed
alexcrichton opened this issue Sep 3, 2014 · 0 comments · Fixed by #17052
Closed

Feature gate some slice pattern features #16951

alexcrichton opened this issue Sep 3, 2014 · 0 comments · Fixed by #17052
Labels
B-RFC-approved Blocker: Approved by a merged RFC but not yet implemented.
Milestone

Comments

@alexcrichton
Copy link
Member

Tracking issue for rust-lang/rfcs#164

Nominating for 1.0, P-backcompat-lang

@brson brson added this to the 1.0 milestone Sep 4, 2014
pcwalton added a commit to pcwalton/rust that referenced this issue Sep 8, 2014
This breaks code that uses the `..xs` form anywhere but at the end of a
slice. For example:

    match foo {
        [ 1, ..xs, 2 ]
        [ ..xs, 1, 2 ]
    }

Add the `#![feature(advanced_slice_patterns)]` gate to reenable the
syntax.

RFC rust-lang#54.

Closes rust-lang#16951.

[breaking-change]
bors added a commit to rust-lang-ci/rust that referenced this issue Mar 31, 2024
…nicola

minor: Update comment on provenance_split

Hope I got this right `@dfireBird.`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B-RFC-approved Blocker: Approved by a merged RFC but not yet implemented.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants