@@ -13,33 +13,33 @@ error: redundant field names in struct initialization
13
13
| ^^^^^^^^ help: replace it with: `age`
14
14
15
15
error: redundant field names in struct initialization
16
- --> $DIR/redundant_field_names.rs:53 :25
16
+ --> $DIR/redundant_field_names.rs:56 :25
17
17
|
18
- 53 | let _ = RangeFrom { start: start };
18
+ 56 | let _ = RangeFrom { start: start };
19
19
| ^^^^^^^^^^^^ help: replace it with: `start`
20
20
21
21
error: redundant field names in struct initialization
22
- --> $DIR/redundant_field_names.rs:54 :23
22
+ --> $DIR/redundant_field_names.rs:57 :23
23
23
|
24
- 54 | let _ = RangeTo { end: end };
24
+ 57 | let _ = RangeTo { end: end };
25
25
| ^^^^^^^^ help: replace it with: `end`
26
26
27
27
error: redundant field names in struct initialization
28
- --> $DIR/redundant_field_names.rs:55 :21
28
+ --> $DIR/redundant_field_names.rs:58 :21
29
29
|
30
- 55 | let _ = Range { start: start, end: end };
30
+ 58 | let _ = Range { start: start, end: end };
31
31
| ^^^^^^^^^^^^ help: replace it with: `start`
32
32
33
33
error: redundant field names in struct initialization
34
- --> $DIR/redundant_field_names.rs:55 :35
34
+ --> $DIR/redundant_field_names.rs:58 :35
35
35
|
36
- 55 | let _ = Range { start: start, end: end };
36
+ 58 | let _ = Range { start: start, end: end };
37
37
| ^^^^^^^^ help: replace it with: `end`
38
38
39
39
error: redundant field names in struct initialization
40
- --> $DIR/redundant_field_names.rs:57 :32
40
+ --> $DIR/redundant_field_names.rs:60 :32
41
41
|
42
- 57 | let _ = RangeToInclusive { end: end };
42
+ 60 | let _ = RangeToInclusive { end: end };
43
43
| ^^^^^^^^ help: replace it with: `end`
44
44
45
45
error: aborting due to 7 previous errors
0 commit comments