1 error[E0308]: mismatched types
2 --> $DIR/issue-11714.rs:11:18
4 LL | fn blah() -> i32 { //~ ERROR mismatched types
9 | | - help: consider removing this semicolon
11 | |_^ expected i32, found ()
13 = note: expected type `i32`
16 error: aborting due to previous error
18 For more information about this error, try `rustc --explain E0308`.