Skip to content

Conversation

catamorphism
Copy link
Contributor

r? @thestinger As called for in #4994

bors added a commit that referenced this pull request May 28, 2013
@bors bors closed this May 28, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Feb 25, 2021
… r=matthiaskrgr

Inconsistent struct constructor

fixes: rust-lang#6352
r? `@matthiaskrgr`

I added the lint that checks for the struct constructors where the order of the field init shorthands is inconsistent with that in the struct definition.

changelog: Add style lint: `inconsistent_struct_constructor`
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