2019-06-19 15:55:18 -05:00
|
|
|
error[E0308]: mismatched types
|
2019-08-01 20:48:43 -05:00
|
|
|
--> $DIR/suggest-missing-await.rs:13:14
|
2019-06-19 15:55:18 -05:00
|
|
|
|
|
|
|
|
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`
|
|
|
|
|
2019-07-01 21:12:29 -05:00
|
|
|
error: aborting due to previous error
|
2019-06-19 15:55:18 -05:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0308`.
|