2 #![warn(clippy::inconsistent_struct_constructor)]
3 #![allow(clippy::redundant_field_names)]
4 #![allow(clippy::unnecessary_operation)]
5 #![allow(clippy::no_effect)]
15 macro_rules! new_foo {
39 // Shoule NOT lint because the order is the same as in the definition.
42 // Should NOT lint because z is not a shorthand init.
61 // Should NOT lint because the order is consistent with the definition.
68 // Should NOT lint because z is not a shorthand init.