1 error: redundant field names in struct initialization
2 --> $DIR/redundant_field_names.rs:33:9
5 | ^^^^^^^^^^^^^^ help: replace it with: `gender`
7 = note: `-D clippy::redundant-field-names` implied by `-D warnings`
8 = help: to override `-D warnings` add `#[allow(clippy::redundant_field_names)]`
10 error: redundant field names in struct initialization
11 --> $DIR/redundant_field_names.rs:34:9
14 | ^^^^^^^^ help: replace it with: `age`
16 error: redundant field names in struct initialization
17 --> $DIR/redundant_field_names.rs:55:25
19 LL | let _ = RangeFrom { start: start };
20 | ^^^^^^^^^^^^ help: replace it with: `start`
22 error: redundant field names in struct initialization
23 --> $DIR/redundant_field_names.rs:56:23
25 LL | let _ = RangeTo { end: end };
26 | ^^^^^^^^ help: replace it with: `end`
28 error: redundant field names in struct initialization
29 --> $DIR/redundant_field_names.rs:57:21
31 LL | let _ = Range { start: start, end: end };
32 | ^^^^^^^^^^^^ help: replace it with: `start`
34 error: redundant field names in struct initialization
35 --> $DIR/redundant_field_names.rs:57:35
37 LL | let _ = Range { start: start, end: end };
38 | ^^^^^^^^ help: replace it with: `end`
40 error: redundant field names in struct initialization
41 --> $DIR/redundant_field_names.rs:59:32
43 LL | let _ = RangeToInclusive { end: end };
44 | ^^^^^^^^ help: replace it with: `end`
46 error: redundant field names in struct initialization
47 --> $DIR/redundant_field_names.rs:88:25
49 LL | let _ = RangeFrom { start: start };
50 | ^^^^^^^^^^^^ help: replace it with: `start`
52 error: aborting due to 8 previous errors