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