summary refs log tree commit diff
path: root/src/test/ui/async-await/async-error-span.stderr
blob: b551b99587dd939d15c1a162e4073d71d14ba1d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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
   |
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`.