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

Futureproof subslice syntax #16967

Closed
brson opened this issue Sep 3, 2014 · 0 comments · Fixed by #17054
Closed

Futureproof subslice syntax #16967

brson opened this issue Sep 3, 2014 · 0 comments · Fixed by #17054
Labels
B-RFC-approved Blocker: Approved by a merged RFC but not yet implemented. C-enhancement Category: An issue proposing an enhancement or a PR with one.
Milestone

Comments

@brson
Copy link
Contributor

brson commented Sep 3, 2014

rust-lang/rfcs#202

@brson brson added this to the 1.0 milestone Sep 4, 2014
pcwalton added a commit to pcwalton/rust that referenced this issue Sep 9, 2014
instead of prefix `..`.

This breaks code that looked like:

    match foo {
        [ first, ..middle, last ] => { ... }
    }

Change this code to:

    match foo {
        [ first, middle.., last ] => { ... }
    }

RFC rust-lang#55.

Closes rust-lang#16967.

[breaking-change]
bors added a commit to rust-lang-ci/rust that referenced this issue Mar 31, 2024
fix: ADT hover considering only type or const len not lifetimes

I feel like test doesn't do much. Please suggest if I should improve it?

Fixes rust-lang#16963
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. C-enhancement Category: An issue proposing an enhancement or a PR with one.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant