2017-06-23 19:43:35 -05:00
|
|
|
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:
|
2017-06-24 03:09:57 -05:00
|
|
|
| | - help: consider removing this semicolon
|
2017-06-23 19:43:35 -05:00
|
|
|
15 | | }
|
|
|
|
| |_^ expected i32, found ()
|
|
|
|
|
|
|
|
|
= note: expected type `i32`
|
|
|
|
found type `()`
|
|
|
|
|
|
|
|
error: aborting due to previous error(s)
|
|
|
|
|