bors 7bb0e9c2f2 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
2024-01-05 16:58:50 +00:00
..
2024-01-02 19:21:51 -05:00
2024-01-02 19:21:51 -05:00
2023-12-24 17:32:00 +02:00
2023-12-24 17:32:00 +02:00
2023-12-24 17:32:00 +02:00
2023-12-24 17:32:00 +02:00
2023-12-24 17:32:00 +02:00
2023-12-24 17:32:00 +02:00
2024-01-02 19:21:51 -05:00
2024-01-02 19:21:51 -05:00
2024-01-02 19:21:51 -05:00
2024-01-02 19:21:51 -05:00
2024-01-02 19:21:51 -05:00