bors
1c81105b43
Auto merge of #13211 - rzvxa:respect_allow_inconsistent_struct_constructor_on_adt, r=Alexendoo
...
Respect allow `inconsistent_struct_constructor` on the struct definition
Closes #13203
Now we check if the target type is marked with `#[allow(clippy:inconsistent_struct_constructor)]` before lining.
As a side-effect of this change, The rule in the subject no longer runs on non-local `AdtDef`s. However, as suggested by `@Jarcho` it shouldn't be a big deal since most of the time we didn't have access to this information anyway.
> You can't get lint attributes from other crates. I would probably just restrict the lint to only work with types from the current crate while you're at it. Upstream crates don't have a definition order from the point of view of the current crate (with the exception of #[repr(C)] structs).
changelog: Respect allow `inconsistent_struct_constructor` on the struct definition.
2024-08-09 12:23:53 +00:00
..
2024-07-16 19:27:28 -07:00
2024-08-07 11:40:15 -04:00
2024-08-03 10:18:05 +02:00
2024-07-31 17:27:53 +02:00
2024-07-25 18:29:17 +02:00
2024-07-25 18:29:17 +02:00
2024-07-25 22:20:59 +02:00
2024-07-25 22:20:59 +02:00
2024-07-25 22:20:59 +02:00
2024-08-04 13:14:23 +00:00
2024-07-25 18:29:17 +02:00
2024-07-25 18:29:17 +02:00
2024-07-25 18:29:17 +02:00
2024-07-25 18:29:17 +02:00
2024-07-25 18:29:17 +02:00
2024-08-03 10:18:05 +02:00
2024-08-05 09:15:55 -04:00
2024-08-05 09:15:55 -04:00
2024-07-25 18:29:17 +02:00
2024-07-25 18:29:17 +02:00
2024-07-18 15:23:04 -03:00
2024-07-18 15:23:04 -03:00
2024-07-18 15:23:04 -03:00
2024-07-25 18:29:17 +02:00
2024-07-25 18:29:17 +02:00
2024-08-03 10:18:15 +02:00
2024-07-26 00:27:40 +07:00
2024-07-26 00:23:11 +07:00
2024-07-26 00:27:40 +07:00
2024-07-25 18:29:17 +02:00
2024-07-25 18:29:17 +02:00
2024-07-25 18:29:17 +02:00
2024-07-29 17:43:03 +08:00
2024-07-29 17:43:03 +08:00
2024-07-25 18:29:17 +02:00
2024-07-25 18:29:17 +02:00
2024-07-25 18:29:17 +02:00
2024-08-03 10:18:15 +02:00
2024-07-29 17:43:03 +08:00
2024-07-29 17:43:03 +08:00
2024-07-29 17:43:03 +08:00
2024-08-03 10:18:15 +02:00
2024-07-28 18:27:53 +02:00
2024-07-28 18:27:53 +02:00
2024-08-03 10:18:15 +02:00
2024-08-03 10:18:15 +02:00
2024-08-03 10:18:15 +02:00
2024-07-29 17:56:27 +00:00
2024-07-29 17:56:27 +00:00
2024-07-29 17:56:27 +00:00
2024-08-03 10:18:15 +02:00
2024-08-03 22:52:22 +03:30
2024-08-03 22:52:22 +03:30
2024-08-03 22:52:22 +03:30
2024-07-25 18:29:17 +02:00
2024-07-25 18:29:17 +02:00
2024-07-22 19:47:29 +02:00
2024-07-25 18:29:17 +02:00
2024-07-25 18:29:17 +02:00
2024-07-25 18:29:17 +02:00
2024-07-25 18:29:17 +02:00
2024-07-25 18:29:17 +02:00
2024-07-25 18:29:17 +02:00
2024-07-25 18:29:17 +02:00
2024-07-25 18:29:17 +02:00
2024-07-25 18:29:17 +02:00
2024-07-25 18:29:17 +02:00
2024-07-25 18:29:17 +02:00
2024-07-25 18:29:17 +02:00
2024-07-26 11:25:06 +00:00
2024-07-26 11:25:06 +00:00
2024-07-24 22:29:35 +02:00
2024-07-24 22:29:35 +02:00
2024-07-25 18:29:17 +02:00
2024-07-25 18:29:17 +02:00
2024-07-15 15:56:17 +00:00
2024-07-26 09:41:38 +02:00
2024-08-03 12:07:42 +00:00
2024-07-25 18:29:17 +02:00
2024-07-25 18:29:17 +02:00
2024-07-25 18:29:17 +02:00
2024-07-25 18:29:17 +02:00
2024-07-25 18:29:17 +02:00
2024-07-25 18:29:17 +02:00
2024-07-25 18:29:17 +02:00
2024-07-25 18:29:17 +02:00
2024-07-25 18:29:17 +02:00
2024-08-07 11:40:15 -04:00
2024-08-07 11:40:15 -04:00
2024-07-25 18:29:17 +02:00
2024-07-25 18:29:17 +02:00
2024-07-25 18:29:17 +02:00
2024-07-25 18:29:17 +02:00
2024-07-25 18:29:17 +02:00
2024-07-25 18:29:17 +02:00
2024-08-05 09:15:55 -04:00
2024-08-05 09:15:55 -04:00
2024-08-05 09:15:55 -04:00
2024-07-26 22:52:07 -04:00
2024-07-26 22:52:07 -04:00
2024-07-25 18:29:17 +02:00
2024-07-25 18:29:17 +02:00
2024-07-25 18:29:17 +02:00
2024-07-25 18:29:17 +02:00
2024-07-25 18:29:17 +02:00
2024-08-07 11:40:15 -04:00
2024-08-07 11:40:15 -04:00
2024-08-07 11:40:15 -04:00
2024-07-26 16:08:03 +00:00
2024-07-26 16:08:03 +00:00
2024-07-26 16:08:03 +00:00
2024-07-27 13:45:00 +02:00
2024-07-25 18:29:17 +02:00
2024-07-25 18:29:17 +02:00
2024-07-21 22:34:35 -04:00
2024-07-25 18:29:17 +02:00
2024-07-25 18:29:17 +02:00
2024-07-25 18:29:17 +02:00
2024-07-25 18:29:17 +02:00
2024-07-25 18:29:17 +02:00
2024-07-15 21:54:15 -07:00
2024-07-15 21:21:52 -07:00
2024-08-08 18:54:43 +02:00
2024-08-06 01:53:50 +02:00
2024-07-28 03:11:54 +08:00
2024-07-28 03:11:54 +08:00
2024-07-25 18:29:17 +02:00
2024-07-25 18:29:17 +02:00
2024-08-01 18:53:42 +00:00
2024-07-25 18:29:17 +02:00
2024-07-25 18:29:17 +02:00
2024-07-25 18:29:17 +02:00
2024-07-25 18:29:17 +02:00
2024-07-25 18:29:17 +02:00
2024-08-01 18:53:42 +00:00
2024-08-07 11:40:15 -04:00
2024-07-29 17:56:45 +01:00
2024-07-29 17:56:45 +01:00
2024-07-29 17:56:45 +01:00
2024-07-26 17:51:22 +08:00
2024-07-23 02:55:58 -05:00
2024-07-23 02:55:58 -05:00
2024-07-23 02:55:58 -05:00
2024-07-25 18:29:17 +02:00
2024-07-25 18:29:17 +02:00
2024-07-25 18:29:17 +02:00