error: the start function cannot have arguments
  --> $DIR/start-function.rs:11:13
   |
11 | pub fn foo2(x: u32) {}
   |             ^^^^^^

error: the start function cannot have generics
  --> $DIR/start-function.rs:14:12
   |
14 | pub fn foo3<T>() {}
   |            ^^^

error: aborting due to 2 previous errors