1 error[E0308]: mismatched types
2 --> $DIR/suggest-missing-await.rs:13:14
4 LL | async fn make_u32() -> u32 {
5 | --- the `Output` of this `async fn`'s found opaque type
10 | expected `u32`, found opaque type
11 | help: consider using `.await` here: `x.await`
13 = note: expected type `u32`
14 found opaque type `impl std::future::Future`
16 error[E0308]: mismatched types
17 --> $DIR/suggest-missing-await.rs:23:5
19 LL | async fn dummy() {}
20 | - the `Output` of this `async fn`'s found opaque type
23 | ^^^^^^^ expected `()`, found opaque type
25 = note: expected unit type `()`
26 found opaque type `impl std::future::Future`
27 help: try adding a semicolon
31 help: consider using `.await` here
36 error: aborting due to 2 previous errors
38 For more information about this error, try `rustc --explain E0308`.