error[E0308]: mismatched types | |
--> $DIR/suggest-missing-await.rs:13:14 | |
| | |
LL | take_u32(x) | |
| ^ | |
| | | |
| expected u32, found opaque type | |
| help: consider using `.await` here: `x.await` | |
| | |
= note: expected type `u32` | |
found type `impl std::future::Future` | |
error: aborting due to previous error | |
For more information about this error, try `rustc --explain E0308`. |