2017-06-24 00:43:35 +00:00
|
|
|
error[E0308]: mismatched types
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/issue-11714.rs:1:18
|
2017-06-24 00:43:35 +00:00
|
|
|
|
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | fn blah() -> i32 { //~ ERROR mismatched types
|
2017-06-24 00:43:35 +00:00
|
|
|
| __________________^
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | | 1
|
|
|
|
LL | |
|
|
|
|
LL | | ;
|
2017-06-24 08:09:57 +00:00
|
|
|
| | - help: consider removing this semicolon
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | | }
|
2017-06-24 00:43:35 +00:00
|
|
|
| |_^ expected i32, found ()
|
|
|
|
|
|
|
|
|
= note: expected type `i32`
|
|
|
|
found type `()`
|
|
|
|
|
2017-07-02 13:09:09 +00:00
|
|
|
error: aborting due to previous error
|
2017-06-24 00:43:35 +00:00
|
|
|
|
2018-03-03 14:59:40 +00:00
|
|
|
For more information about this error, try `rustc --explain E0308`.
|