1 error: redundant field names in struct initialization
2 --> $DIR/redundant_field_names.rs:34:9
5 | ^^^^^^^^^^^^^^ help: replace it with: `gender`
7 = note: `-D redundant-field-names` implied by `-D warnings`
9 error: redundant field names in struct initialization
10 --> $DIR/redundant_field_names.rs:35:9
13 | ^^^^^^^^ help: replace it with: `age`
15 error: redundant field names in struct initialization
16 --> $DIR/redundant_field_names.rs:53:25
18 53 | let _ = RangeFrom { start: start };
19 | ^^^^^^^^^^^^ help: replace it with: `start`
21 error: redundant field names in struct initialization
22 --> $DIR/redundant_field_names.rs:54:23
24 54 | let _ = RangeTo { end: end };
25 | ^^^^^^^^ help: replace it with: `end`
27 error: redundant field names in struct initialization
28 --> $DIR/redundant_field_names.rs:55:21
30 55 | 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:55:35
36 55 | 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:57:32
42 57 | let _ = RangeToInclusive { end: end };
43 | ^^^^^^^^ help: replace it with: `end`
45 error: aborting due to 7 previous errors