]> git.lizzy.rs Git - rust.git/blob - tests/ui/block-result/issue-11714.stderr
Rollup merge of #106701 - ibraheemdev:sync-sender-spin, r=Amanieu
[rust.git] / tests / ui / block-result / issue-11714.stderr
1 error[E0308]: mismatched types
2   --> $DIR/issue-11714.rs:1:14
3    |
4 LL | fn blah() -> i32 {
5    |    ----      ^^^ expected `i32`, found `()`
6    |    |
7    |    implicitly returns `()` as its body has no tail or `return` expression
8 ...
9 LL |     ;
10    |     - help: remove this semicolon to return this value
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0308`.