]> git.lizzy.rs Git - rust.git/blob - src/test/ui/block-result/issue-11714.stderr
Rollup merge of #42946 - AndiDog:patch-1, r=GuillaumeGomez
[rust.git] / src / test / ui / block-result / issue-11714.stderr
1 error[E0308]: mismatched types
2   --> $DIR/issue-11714.rs:11:18
3    |
4 11 |   fn blah() -> i32 { //~ ERROR mismatched types
5    |  __________________^
6 12 | |     1
7 13 | |
8 14 | |     ; //~ HELP consider removing this semicolon:
9    | |     - help: consider removing this semicolon
10 15 | | }
11    | |_^ expected i32, found ()
12    |
13    = note: expected type `i32`
14               found type `()`
15
16 error: aborting due to previous error(s)
17