2019-10-02 14:39:44 -04:00
|
|
|
error[E0698]: type inside `async fn` body must be known in this context
|
2019-08-02 03:48:43 +02:00
|
|
|
--> $DIR/async-error-span.rs:12:9
|
2019-07-04 14:20:04 -04:00
|
|
|
|
|
|
|
|
|
LL | let a;
|
|
|
|
|
| ^ cannot infer type
|
|
|
|
|
|
|
2019-10-02 14:39:44 -04:00
|
|
|
note: the type is part of the `async fn` body because of this `await`
|
2019-08-02 03:48:43 +02:00
|
|
|
--> $DIR/async-error-span.rs:13:5
|
2019-07-04 14:20:04 -04:00
|
|
|
|
|
|
|
|
|
LL | get_future().await;
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0698`.
|