rust/src/test/ui/block-result/issue-11714.stderr

19 lines
446 B
Plaintext
Raw Normal View History

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 | | ;
| | - 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 `()`
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`.