]> git.proxmox.com Git - rustc.git/blame - src/test/ui/block-result/issue-11714.stderr
New upstream version 1.26.0+dfsg1
[rustc.git] / src / test / ui / block-result / issue-11714.stderr
CommitLineData
041b39d2
XL
1error[E0308]: mismatched types
2 --> $DIR/issue-11714.rs:11:18
3 |
0531ce1d 4LL | fn blah() -> i32 { //~ ERROR mismatched types
041b39d2 5 | __________________^
0531ce1d
XL
6LL | | 1
7LL | |
8LL | | ;
041b39d2 9 | | - help: consider removing this semicolon
0531ce1d 10LL | | }
041b39d2
XL
11 | |_^ expected i32, found ()
12 |
13 = note: expected type `i32`
14 found type `()`
15
16error: aborting due to previous error
17
0531ce1d 18For more information about this error, try `rustc --explain E0308`.