1 #[allow(clippy::unnecessary_operation, clippy::single_match)]
9 field: if true { 1 } else { 0 },
12 let test = Test { field: 1 };
16 Test { field: 1 } => {},
20 struct TestTuple(u32);
22 let test_tuple = TestTuple(1);
30 struct TestMethodCall(u32);
36 let test_method_call = TestMethodCall(1);
39 test_method_call.test();