1error[E0308]: mismatched types
2  --> $DIR/arg-type-mismatch.rs:5:30
3   |
4LL | fn main() { let i: (); i = f(()); }
5   |                              ^^ expected `isize`, found `()`
6
7error: aborting due to previous error
8
9For more information about this error, try `rustc --explain E0308`.
10