mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-02 07:22:42 +00:00
1da9156b0d
Implement IntoFuture type inference One of my projects is using [IntoFuture](https://doc.rust-lang.org/std/future/trait.IntoFuture.html) to make our async code a little less verbose. However, rust-analyzer can't infer the output type of an await expression if the value uses `IntoFuture` to convert into another type. So we're getting `{unknown}` types everywhere since switching. `foo.await` itself [desugars]( |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |