1 error: redundant field names in struct initialization
2 --> $DIR/redundant_field_names.rs:43:9
5 | ^^^^^^^^^^^^^^ help: replace it with: `gender`
7 = note: `-D clippy::redundant-field-names` implied by `-D warnings`
9 error: redundant field names in struct initialization
10 --> $DIR/redundant_field_names.rs:44:9
13 | ^^^^^^^^ help: replace it with: `age`
15 error: redundant field names in struct initialization
16 --> $DIR/redundant_field_names.rs:65:25
18 LL | let _ = RangeFrom { start: start };
19 | ^^^^^^^^^^^^ help: replace it with: `start`
21 error: redundant field names in struct initialization
22 --> $DIR/redundant_field_names.rs:66:23
24 LL | let _ = RangeTo { end: end };
25 | ^^^^^^^^ help: replace it with: `end`
27 error: redundant field names in struct initialization
28 --> $DIR/redundant_field_names.rs:67:21
30 LL | let _ = Range { start: start, end: end };
31 | ^^^^^^^^^^^^ help: replace it with: `start`
33 error: redundant field names in struct initialization
34 --> $DIR/redundant_field_names.rs:67:35
36 LL | let _ = Range { start: start, end: end };
37 | ^^^^^^^^ help: replace it with: `end`
39 error: redundant field names in struct initialization
40 --> $DIR/redundant_field_names.rs:69:32
42 LL | let _ = RangeToInclusive { end: end };
43 | ^^^^^^^^ help: replace it with: `end`
45 error: aborting due to 7 previous errors