2018-02-10 20:13:17 +00:00
|
|
|
error: redundant field names in struct initialization
|
2018-02-11 09:50:19 +00:00
|
|
|
--> $DIR/redundant_field_names.rs:23:9
|
2018-02-10 20:13:17 +00:00
|
|
|
|
|
2018-02-11 09:50:19 +00:00
|
|
|
23 | gender: gender,
|
|
|
|
| ^^^^^^^^^^^^^^ help: replace it with: `gender`
|
2018-02-10 20:13:17 +00:00
|
|
|
|
|
|
|
|
= note: `-D redundant-field-names` implied by `-D warnings`
|
|
|
|
|
|
|
|
error: redundant field names in struct initialization
|
2018-02-11 09:50:19 +00:00
|
|
|
--> $DIR/redundant_field_names.rs:24:9
|
2018-02-10 20:13:17 +00:00
|
|
|
|
|
2018-02-11 09:50:19 +00:00
|
|
|
24 | age: age,
|
|
|
|
| ^^^^^^^^ help: replace it with: `age`
|
2018-02-10 20:13:17 +00:00
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|