]> git.proxmox.com Git - rustc.git/blob - src/test/ui/inference/cannot-infer-async.stderr
Update upstream source from tag 'upstream/1.51.0+dfsg1'
[rustc.git] / src / test / ui / inference / cannot-infer-async.stderr
1 error[E0282]: type annotations needed
2 --> $DIR/cannot-infer-async.rs:11:20
3 |
4 LL | let fut = async {
5 | --- consider giving `fut` a type
6 LL | make_unit()?;
7 | ^ cannot infer type of error for `?` operator
8 |
9 = note: `?` implicitly converts the error value into a type implementing `From<std::io::Error>`
10
11 error: aborting due to previous error
12
13 For more information about this error, try `rustc --explain E0282`.