1 error[E0124]: field `foo` is already declared
2 --> $DIR/struct-fields-decl-dupe.rs:3:5
5 | ---------- `foo` first declared here
7 | ^^^^^^^^^^ field already declared
9 error: aborting due to previous error
11 For more information about this error, try `rustc --explain E0124`.