]> git.proxmox.com Git - rustc.git/blob - src/test/ui/async-await/dont-suggest-missing-await.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / async-await / dont-suggest-missing-await.stderr
1 error[E0308]: mismatched types
2 --> $DIR/dont-suggest-missing-await.rs:14:18
3 |
4 LL | async fn make_u32() -> u32 {
5 | --- the `Output` of this `async fn`'s found opaque type
6 ...
7 LL | take_u32(x)
8 | ^ expected `u32`, found opaque type
9 |
10 = note: expected type `u32`
11 found opaque type `impl Future`
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0308`.