]> git.lizzy.rs Git - rust.git/blob - tests/ui/redundant_field_names.stderr
Merge branch 'master' into suspicious_impl
[rust.git] / tests / ui / redundant_field_names.stderr
1 error: redundant field names in struct initialization
2   --> $DIR/redundant_field_names.rs:23:9
3    |
4 23 |         gender: gender,
5    |         ^^^^^^^^^^^^^^ help: replace it with: `gender`
6    |
7    = note: `-D redundant-field-names` implied by `-D warnings`
8
9 error: redundant field names in struct initialization
10   --> $DIR/redundant_field_names.rs:24:9
11    |
12 24 |         age: age,
13    |         ^^^^^^^^ help: replace it with: `age`
14
15 error: aborting due to 2 previous errors
16