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

Remove @[] #11974

Merged
merged 49 commits into from
Feb 1, 2014
Merged

Remove @[] #11974

merged 49 commits into from
Feb 1, 2014

Conversation

huonw
Copy link
Member

@huonw huonw commented Feb 1, 2014

This removes @[] from the parser as well as much of the handling of it (and @str) from the compiler as I can find.

I've just rebased @pcwalton's (already reviewed) @str removal (and fixed the problems in a separate commit); the only new work is the trailing commits with my authorship.

Closes #11967

@huonw
Copy link
Member Author

huonw commented Feb 1, 2014

r? @pcwalton @alexcrichton (or anyone)

(github is showing the commits out of order: the "Fix @str removal tests." and "Changes from the review of the @str PR." are the first two after @pcwalton's work.)

bors added a commit that referenced this pull request Feb 1, 2014
This removes @[] from the parser as well as much of the handling of it (and `@str`) from the compiler as I can find.

I've just rebased @pcwalton's (already reviewed) `@str` removal (and fixed the problems in a separate commit); the only new work is the trailing commits with my authorship.

Closes #11967
@bors bors closed this Feb 1, 2014
@bors bors merged commit 2125074 into rust-lang:master Feb 1, 2014
@huonw huonw deleted the no-at-vec branch February 1, 2014 23:47
flip1995 pushed a commit to flip1995/rust that referenced this pull request Dec 28, 2023
[`redundant_pattern_matching`]: lint `if let true`, `while let true`, `matches!(.., true)`

Closes rust-lang#11917

This could also lint e.g. `if let (true, true, false) = (a, b, c)` and suggest `if a && b && c`, but that's a change in semantics (going from eager to lazy, so I just left it out for now. Could be a future improvement.

changelog: [`redundant_pattern_matching`]: lint `if let true`, `while let true`, `matches!(.., true)`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants