1 error[E0308]: mismatched types
2 --> $DIR/suggest-missing-await.rs:12:14
4 LL | async fn make_u32() -> u32 {
5 | --- checked the `Output` of this `async fn`, found opaque type
8 | ^ expected `u32`, found opaque type
10 = note: while checking the return type of the `async fn`
11 = note: expected type `u32`
12 found opaque type `impl Future`
13 help: consider `await`ing on the `Future`
15 LL | take_u32(x.await)
18 error[E0308]: mismatched types
19 --> $DIR/suggest-missing-await.rs:22:5
21 LL | async fn dummy() {}
22 | - checked the `Output` of this `async fn`, found opaque type
25 | ^^^^^^^ expected `()`, found opaque type
27 = note: while checking the return type of the `async fn`
28 = note: expected unit type `()`
29 found opaque type `impl Future`
30 help: consider `await`ing on the `Future`
34 help: consider using a semicolon here
39 error: aborting due to 2 previous errors
41 For more information about this error, try `rustc --explain E0308`.