1 error[E0062]: field `foo` specified more than once
2 --> $DIR/struct-fields-dupe.rs:18:9
5 | ------ first use of `foo`
6 LL | foo: 0 //~ ERROR field `foo` specified more than once
7 | ^^^ used more than once
9 error: aborting due to previous error
11 For more information about this error, try `rustc --explain E0062`.