1 error[E0308]: mismatched types
2 --> $DIR/dont-suggest-missing-await.rs:14:18
5 | -------- ^ expected `u32`, found opaque type
7 | arguments to this function are incorrect
9 note: while checking the return type of the `async fn`
10 --> $DIR/dont-suggest-missing-await.rs:7:24
12 LL | async fn make_u32() -> u32 {
13 | ^^^ checked the `Output` of this `async fn`, found opaque type
14 = note: expected type `u32`
15 found opaque type `impl Future<Output = u32>`
16 note: function defined here
17 --> $DIR/dont-suggest-missing-await.rs:5:4
19 LL | fn take_u32(x: u32) {}
21 help: consider `await`ing on the `Future`
23 LL | take_u32(x.await)
26 error: aborting due to previous error
28 For more information about this error, try `rustc --explain E0308`.