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