fork/rust

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

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
441 B15 linesraw
1error[E0698]: type inside `async` object 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` object 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`.