1 error: redundant field names in struct initialization
2 --> $DIR/redundant_field_names.rs:26: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:27:9
13 | ^^^^^^^^ help: replace it with: `age`
15 error: redundant field names in struct initialization
16 --> $DIR/redundant_field_names.rs:45:25
18 45 | let _ = RangeFrom { start: start };
19 | ^^^^^^^^^^^^ help: replace it with: `start`
21 error: redundant field names in struct initialization
22 --> $DIR/redundant_field_names.rs:46:23
24 46 | let _ = RangeTo { end: end };
25 | ^^^^^^^^ help: replace it with: `end`
27 error: redundant field names in struct initialization
28 --> $DIR/redundant_field_names.rs:47:21
30 47 | 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:47:35
36 47 | 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:48:30
42 48 | let _ = RangeInclusive { start: start, end: end };
43 | ^^^^^^^^^^^^ help: replace it with: `start`
45 error: redundant field names in struct initialization
46 --> $DIR/redundant_field_names.rs:48:44
48 48 | let _ = RangeInclusive { start: start, end: end };
49 | ^^^^^^^^ help: replace it with: `end`
51 error: redundant field names in struct initialization
52 --> $DIR/redundant_field_names.rs:49:32
54 49 | let _ = RangeToInclusive { end: end };
55 | ^^^^^^^^ help: replace it with: `end`
57 error: aborting due to 9 previous errors