Skip to content

rustc: update the unnecessary parens lint for struct literals. #15212

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

Merged
merged 1 commit into from
Jun 27, 2014

Conversation

huonw
Copy link
Member

@huonw huonw commented Jun 27, 2014

rustc: update the unnecessary parens lint for struct literals.

Things like match X { x: 1 } { ... } now need to be written with
parentheses, so the lint should avoid warning in cases like that.

Things like `match X { x: 1 } { ... }` now need to be written with
parentheses, so the lint should avoid warning in cases like that.
bors added a commit that referenced this pull request Jun 27, 2014
rustc: update the unnecessary parens lint for struct literals.

Things like `match X { x: 1 } { ... }` now need to be written with
parentheses, so the lint should avoid warning in cases like that.
@bors bors closed this Jun 27, 2014
@bors bors merged commit 64019e7 into rust-lang:master Jun 27, 2014
@huonw huonw deleted the struct-paren-lint branch July 11, 2014 05:54
bors added a commit to rust-lang-ci/rust that referenced this pull request Jul 17, 2023
…soc-ty, r=HKalbasi

Recover from missing associated items and generic const defaults

Fixes rust-lang#15129
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.

3 participants