1 error[E0308]: mismatched types
2 --> $DIR/fn-bad-block-type.rs:3:19
4 LL | fn f() -> isize { true }
5 | ----- ^^^^ expected `isize`, found `bool`
7 | expected `isize` because of return type
9 error: aborting due to previous error
11 For more information about this error, try `rustc --explain E0308`.