2019-07-02 04:12:29 +02:00
|
|
|
error[E0308]: mismatched types
|
|
|
|
|
--> $DIR/suggest-missing-await-closure.rs:16:18
|
|
|
|
|
|
|
|
|
|
|
LL | take_u32(x)
|
|
|
|
|
| ^
|
|
|
|
|
| |
|
2019-11-15 09:37:01 -08:00
|
|
|
| expected `u32`, found opaque type
|
2019-07-02 04:12:29 +02:00
|
|
|
| help: consider using `.await` here: `x.await`
|
|
|
|
|
|
|
2019-11-13 14:16:56 -08:00
|
|
|
= note: expected type `u32`
|
|
|
|
|
found opaque type `impl std::future::Future`
|
2019-07-02 04:12:29 +02:00
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0308`.
|