]> git.lizzy.rs Git - rust.git/blob - src/test/ui/block-result/issue-11714.stderr
Auto merge of #54720 - davidtwco:issue-51191, r=nikomatsakis
[rust.git] / src / test / ui / block-result / issue-11714.stderr
1 error[E0308]: mismatched types
2   --> $DIR/issue-11714.rs:11:18
3    |
4 LL |   fn blah() -> i32 { //~ ERROR mismatched types
5    |  __________________^
6 LL | |     1
7 LL | |
8 LL | |     ;
9    | |     - help: consider removing this semicolon
10 LL | | }
11    | |_^ expected i32, found ()
12    |
13    = note: expected type `i32`
14               found type `()`
15
16 error: aborting due to previous error
17
18 For more information about this error, try `rustc --explain E0308`.