Commit Graph

13 Commits

Author SHA1 Message Date
Guillaume Gomez 1f94d55a18 Fix new tests updates 2025-02-15 13:38:42 +01:00
Guillaume Gomez f666fd6417 Update UI tests 2025-02-15 13:38:16 +01:00
Samuel Moelius 8a38bcc390 Make "all fields are shorthand" requirement configurable
Handle field attributes in suggestions

Fix adjacent code

Address review comments

https://github.com/rust-lang/rust-clippy/pull/13737#discussion_r1861352124

Address all review comments but one

This comment is not yet addressed: https://github.com/rust-lang/rust-clippy/pull/13737#discussion_r1874544907

`initializer_suggestions` -> `lint_inconsistent_struct_field_initializers`
2024-12-26 19:36:58 -05:00
rzvxa 5364cbea80 Respect allow inconsistent_struct_constructor on the type definition 2024-08-03 22:52:22 +03:30
Oli Scherer 00919a4f92 Update ui test crate to auto-detect aux build crate kind 2023-08-11 14:02:35 +00:00
Oli Scherer 3d88fae050 Update ui test crate 2023-08-11 14:02:28 +00:00
Oli Scherer 5bd97ac17a Update tests 2023-06-26 14:13:07 +00:00
Oli Scherer def1705a27 Update to a compiletest-rs version that requires //@ for commands 2023-04-20 14:44:03 +00:00
Jason Newcomb 1c7048d785 Add utility macros to help with writing tests. 2023-03-12 17:24:36 -04:00
bors 0930ac91b9 Fix typos
changelog: none
2022-07-13 14:48:32 +00:00
Andre Bogus a4ede72b3d update most tests to 2021 edition 2021-10-30 14:50:53 +02:00
Yawara ISHIDA 6eae905808 Add a test for FP in macro expansion 2021-04-20 13:34:30 +09:00
Yoshitomo Nakanishi d23038944a New lint: inconsistent_struct_constructor 2021-02-21 05:05:11 +09:00