1 struct BuildData {
2     foo: isize,
3     foo: isize,
4     //~^ ERROR field `foo` is already declared [E0124]
5 }
6 
main()7 fn main() {
8 }
9