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