blob: 946d18048944f0749a554e08e7b6bede2601d56e [file] [log] [blame]
error[E0308]: mismatched types
--> $DIR/issue-11714.rs:11:18
|
11 | fn blah() -> i32 { //~ ERROR mismatched types
| __________________^
12 | | 1
13 | |
14 | | ;
| | - help: consider removing this semicolon
15 | | }
| |_^ expected i32, found ()
|
= note: expected type `i32`
found type `()`
error: aborting due to previous error