1 error: struct constructor field order is inconsistent with struct definition field order
2 --> $DIR/inconsistent_struct_constructor.rs:25:9
5 | ^^^^^^^^^^^^^^^ help: try: `Foo { x, y, z }`
7 = note: `-D clippy::inconsistent-struct-constructor` implied by `-D warnings`
9 error: struct constructor field order is inconsistent with struct definition field order
10 --> $DIR/inconsistent_struct_constructor.rs:43:9
15 LL | | ..Default::default()
17 | |_________^ help: try: `Foo { x, z, ..Default::default() }`
19 error: aborting due to 2 previous errors