]>
Commit | Line | Data |
---|---|---|
041b39d2 XL |
1 | error[E0308]: mismatched types |
2 | --> $DIR/issue-11714.rs:11:18 | |
3 | | | |
0531ce1d | 4 | LL | fn blah() -> i32 { //~ ERROR mismatched types |
041b39d2 | 5 | | __________________^ |
0531ce1d XL |
6 | LL | | 1 |
7 | LL | | | |
8 | LL | | ; | |
041b39d2 | 9 | | | - help: consider removing this semicolon |
0531ce1d | 10 | LL | | } |
041b39d2 XL |
11 | | |_^ expected i32, found () |
12 | | | |
13 | = note: expected type `i32` | |
14 | found type `()` | |
15 | ||
16 | error: aborting due to previous error | |
17 | ||
0531ce1d | 18 | For more information about this error, try `rustc --explain E0308`. |