Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #12190 - alexis-langlet:fix/12035-silence-struct-field-…
…names, r=Manishearth Fix/12035 silence struct field names fixes #12035 Allows to silence lints `struct_field_names` and `enum_variant_names` through their impls. This is done in order for some crates such as `serde` to silence those lints changelog: [`struct_field_names`]: allow to silence lint through struct's impl changelog: [`enum_variant_names`]: allow to silence lint through enum's impl
- Loading branch information
Showing
3 changed files
with
54 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters