Files
rust/src/test/ui/async-await/async-error-span.stderr

16 lines
443 B
Plaintext
Raw Normal View History

2019-10-02 14:39:44 -04:00
error[E0698]: type inside `async fn` body must be known in this context
--> $DIR/async-error-span.rs:12:9
|
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`
--> $DIR/async-error-span.rs:13:5
|
LL | get_future().await;
| ^^^^^^^^^^^^^^^^^^
error: aborting due to previous error
For more information about this error, try `rustc --explain E0698`.