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