1 error[E0308]: mismatched types
2 --> $DIR/suggest-missing-await.rs:12:14
4 LL | async fn make_u32() -> u32 {
5 | --- the `Output` of this `async fn`'s found opaque type
8 | ^ expected `u32`, found opaque type
10 = note: expected type `u32`
11 found opaque type `impl Future`
12 help: consider `await`ing on the `Future`
14 LL | take_u32(x.await)
17 error[E0308]: mismatched types
18 --> $DIR/suggest-missing-await.rs:22:5
20 LL | async fn dummy() {}
21 | - the `Output` of this `async fn`'s found opaque type
24 | ^^^^^^^ expected `()`, found opaque type
26 = note: expected unit type `()`
27 found opaque type `impl Future`
28 help: consider `await`ing on the `Future`
32 help: try adding a semicolon
37 error: aborting due to 2 previous errors
39 For more information about this error, try `rustc --explain E0308`.