1 error: redundant field names in struct initialization
2 --> $DIR/redundant_field_names.rs:36: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:37:9
13 | ^^^^^^^^ help: replace it with: `age`
15 error: redundant field names in struct initialization
16 --> $DIR/redundant_field_names.rs:58: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:59: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:60: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:60: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:62:32
42 LL | let _ = RangeToInclusive { end: end };
43 | ^^^^^^^^ help: replace it with: `end`
45 error: redundant field names in struct initialization
46 --> $DIR/redundant_field_names.rs:86:25
48 LL | let _ = RangeFrom { start: start };
49 | ^^^^^^^^^^^^ help: replace it with: `start`
51 error: aborting due to 8 previous errors