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

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

error: aborting due to 2 previous errors