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
..
2023-12-28 19:20:18 +01:00
2024-01-05 16:04:02 +00:00
2023-12-26 16:58:43 -05:00
2024-01-02 19:21:51 -05:00
2023-12-25 09:39:32 +08:00
2023-12-25 09:39:32 +08:00
2023-12-25 09:39:32 +08:00
2024-01-02 19:21:51 -05:00
2024-01-02 19:21:51 -05:00
2023-12-25 09:39:32 +08:00
2023-12-28 05:27:56 +01:00
2023-12-28 05:27:56 +01:00
2023-12-28 05:27:56 +01:00
2023-12-29 19:23:31 +05:30
2023-12-29 19:23:31 +05:30
2023-12-29 19:23:31 +05:30
2023-12-30 13:31:32 +02:00
2023-12-30 13:31:32 +02:00
2023-12-30 13:31:32 +02:00
2023-12-30 04:56:46 +01:00
2023-12-30 04:56:46 +01: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
2023-12-30 04:56:46 +01:00
2023-12-30 04:56:46 +01:00
2024-01-05 16:04:02 +00:00
2024-01-05 16:04:02 +00:00
2024-01-05 16:04:02 +00:00
2023-12-26 17:49:51 -07:00
2023-12-26 17:49:51 -07:00
2023-12-26 17:49:51 -07:00
2023-12-23 16:22:12 +01:00
2023-12-23 16:22:12 +01:00
2023-12-23 16:22:08 +01:00
2023-12-25 14:28:01 +08:00
2023-12-25 14:28:01 +08:00
2023-12-25 21:13:41 +00:00
2023-12-25 21:13:41 +00:00
2023-12-25 21:13:41 +00:00
2024-01-03 19:40:47 +01:00
2024-01-03 19:40:47 +01:00
2024-01-03 19:40:47 +01:00
2024-01-02 19:21:51 -05:00
2024-01-02 19:21:51 -05:00
2023-12-27 19:10:04 +01:00
2023-12-27 19:10:04 +01:00
2023-12-27 19:10:04 +01:00
2023-12-27 19:10:04 +01:00
2023-12-27 19:10:04 +01:00
2023-12-27 19:10:04 +01:00
2024-01-02 19:21:51 -05:00
2023-12-27 22:26:25 +01:00
2023-12-27 22:26:25 +01:00
2023-12-27 22:26:25 +01:00
2023-12-31 13:30:36 +01:00
2023-12-31 13:30:36 +01:00
2023-12-31 13:30:36 +01:00
2024-01-05 16:44:41 +01:00
2024-01-05 16:44:41 +01:00
2024-01-01 18:06:10 +02:00
2024-01-01 18:06:10 +02:00
2024-01-01 18:06:10 +02:00
2024-01-04 17:40:28 +01:00
2024-01-04 17:40:28 +01:00
2024-01-01 02:57:23 +01:00
2024-01-04 17:29:20 +01:00
2024-01-04 17:29:20 +01:00
2024-01-04 17:29:20 +01:00
2024-01-02 19:21:51 -05:00
2024-01-02 19:21:51 -05:00