diff options
| author | bors <bors@rust-lang.org> | 2024-01-05 16:58:50 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-01-05 16:58:50 +0000 |
| commit | 7bb0e9c2f25e3ab9b6ae2af6de448739b8662b00 (patch) | |
| tree | 1a8e0e1dae10e444b6d45c82174ef74d2ab85c04 /tests/ui/patchable-function-entry/patchable-function-entry-flags.rs | |
| parent | 394f63fe94bb3d991f64644d247a2f7e334d7e4f (diff) | |
| parent | 7aa4624a8fe8ff2c4273e35457a7cee6100a8355 (diff) | |
| download | rust-7bb0e9c2f25e3ab9b6ae2af6de448739b8662b00.tar.gz rust-7bb0e9c2f25e3ab9b6ae2af6de448739b8662b00.zip | |
Auto merge of #12099 - GuillaumeGomez:struct-field-names-bool, r=llogiq
Don't emit `struct_field_names` lint if all fields are booleans and don't start with the type's name Fixes #11936. I only checked that all fields are booleans and not the prefix (nor the suffix) because when I started to list accepted prefixes (like "is", "has", "should", "could", etc), the list was starting to get a bit too long and I thought it was not really worth for such a small change. r? `@llogiq` changelog: Don't emit `struct_field_names` lint if all fields are booleans and don't start with the type's name
Diffstat (limited to 'tests/ui/patchable-function-entry/patchable-function-entry-flags.rs')
0 files changed, 0 insertions, 0 deletions
