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

Represent enums with regular structs; no more alignment-breaking casts. #5356

Merged
merged 1 commit into from
Mar 19, 2013

Conversation

jld
Copy link
Contributor

@jld jld commented Mar 13, 2013

Fixes #1645.

bors added a commit that referenced this pull request Mar 19, 2013
@bors bors merged commit a301db7 into rust-lang:incoming Mar 19, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request May 27, 2020
Register redundant_field_names and non_expressive_names as early passes

Similar names was moved to a pre-expansion pass to solve rust-lang#2927, so I'm avoiding linting on code from expansion, which makes the dogfood (mostly, see below) pass.

I had to change new_without_default though, and although I understand why it was not triggering before, TBH I don't see why the binding inside the nested `if_chain` is being linted now. Any ideas? (it seems legit though as the code can be changed by the user)

changelog: Register redundant_field_names and non_expressive_names as early passes

Fixes rust-lang#5356
Fixes rust-lang#5521
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