]>
Commit | Line | Data |
---|---|---|
041b39d2 | 1 | error[E0308]: mismatched types |
0731742a | 2 | --> $DIR/issue-11714.rs:1:14 |
041b39d2 | 3 | | |
532ac7d7 | 4 | LL | fn blah() -> i32 { |
60c5eb7d | 5 | | ---- ^^^ expected `i32`, found `()` |
0731742a | 6 | | | |
416331ca | 7 | | implicitly returns `()` as its body has no tail or `return` expression |
0731742a XL |
8 | ... |
9 | LL | ; | |
10 | | - help: consider removing this semicolon | |
041b39d2 XL |
11 | |
12 | error: aborting due to previous error | |
13 | ||
0531ce1d | 14 | For more information about this error, try `rustc --explain E0308`. |