diff options
| author | bors <bors@rust-lang.org> | 2023-10-18 18:47:27 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-10-18 18:47:27 +0000 |
| commit | fe2199152008195cb1a5b850514db0029a9b215d (patch) | |
| tree | 03c370d9a55a3de09c1eda0e8e26126f7c360fb0 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 5fb312ef211ad3a99add76430d2126a5cd349b84 (diff) | |
| parent | 8b02dac54244efc2968c164bff129f2a64bb845e (diff) | |
| download | rust-fe2199152008195cb1a5b850514db0029a9b215d.tar.gz rust-fe2199152008195cb1a5b850514db0029a9b215d.zip | |
Auto merge of #11496 - jonboh:prefix_postfix_struct, r=y21
add lint for struct field names changelog: [`struct_field_names`]: lint structs with the same pre/postfix in all fields or with fields that are pre/postfixed with the name of the struct. fixes #2555 I've followed general structure and naming from the code in [enum_variants](https://github.com/rust-lang/rust-clippy/blob/b788addfcc955368b9771b77d312c248fab60253/clippy_lints/src/enum_variants.rs) lint, which implements the same logic for enum variants.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
