1 error[E0308]: mismatched types
2 --> $DIR/missing-return.rs:3:11
4 LL | fn f() -> isize { }
5 | - ^^^^^ expected isize, found ()
7 | implicitly returns `()` as its body has no tail or `return` expression
9 = note: expected type `isize`
12 error: aborting due to previous error
14 For more information about this error, try `rustc --explain E0308`.