1 2 3 4 5 6 7 8
struct S { x: isize, y: isize, } fn main(foo: S) { //~^ ERROR: `main` function has wrong type [E0580] }