fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

1.43.0
443 B15 linesraw
1error[E0698]: type inside `async fn` body must be known in this context
2  --> $DIR/async-error-span.rs:12:9
3   |
4LL |     let a;
5   |         ^ cannot infer type
6   |
7note: the type is part of the `async fn` body because of this `await`
8  --> $DIR/async-error-span.rs:13:5
9   |
10LL |     get_future().await;
11   |     ^^^^^^^^^^^^^^^^^^
12
13error: aborting due to previous error
14
15For more information about this error, try `rustc --explain E0698`.