1 error: unnecessary use of `..` pattern in struct binding. All fields were already bound
2 --> $DIR/rest_pat_in_fully_bound_structs.rs:13:9
4 LL | A { a: 5, b: 42, c: "", .. } => {}, // Lint
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7 = note: `-D clippy::rest-pat-in-fully-bound-structs` implied by `-D warnings`
8 = help: consider removing `..` from this binding
10 error: unnecessary use of `..` pattern in struct binding. All fields were already bound
11 --> $DIR/rest_pat_in_fully_bound_structs.rs:14:9
13 LL | A { a: 0, b: 0, c: "", .. } => {}, // Lint
14 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
16 = help: consider removing `..` from this binding
18 error: unnecessary use of `..` pattern in struct binding. All fields were already bound
19 --> $DIR/rest_pat_in_fully_bound_structs.rs:20:9
21 LL | A { a: 0, b: 0, c: "", .. } => {}, // Lint
22 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
24 = help: consider removing `..` from this binding
26 error: aborting due to 3 previous errors