1 #![warn(clippy::unneeded_field_pattern)]
2 #[allow(dead_code, unused)]
11 let f = Foo { a: 0, b: 0, c: 0 };
14 Foo { a: _, b: 0, .. } => {},
16 Foo { a: _, b: _, c: _ } => {},
19 Foo { b: 0, .. } => {}, // should be OK
20 Foo { .. } => {}, // and the Force might be with this one