rust/tests/ui/redundant_field_names.stderr
2018-03-05 14:31:37 +09:00

17 lines
475 B
Plaintext

error: redundant field names in struct initialization
--> $DIR/redundant_field_names.rs:24:9
|
24 | gender: gender,
| ^^^^^^^^^^^^^^ help: replace it with: `gender`
|
= note: `-D redundant-field-names` implied by `-D warnings`
error: redundant field names in struct initialization
--> $DIR/redundant_field_names.rs:25:9
|
25 | age: age,
| ^^^^^^^^ help: replace it with: `age`
error: aborting due to 2 previous errors