fork/rust
git clone https://git.julia.blue/fork/rust
b8cedc00407
1.42.0
1warning: the feature `impl_trait_in_bindings` is incomplete and may cause the compiler to crash 2 --> $DIR/cannot-infer-async-enabled-impl-trait-bindings.rs:2:12 3 | 4LL | #![feature(impl_trait_in_bindings)] 5 | ^^^^^^^^^^^^^^^^^^^^^^ 6 | 7 = note: `#[warn(incomplete_features)]` on by default 8 9error[E0282]: type annotations needed for `impl std::future::Future` 10 --> $DIR/cannot-infer-async-enabled-impl-trait-bindings.rs:13:9 11 | 12LL | let fut = async { 13 | --- consider giving `fut` the explicit type `impl std::future::Future`, with the type parameters specified 14LL | make_unit()?; 15 | ^^^^^^^^^^^^ cannot infer type 16 17error: aborting due to previous error 18 19For more information about this error, try `rustc --explain E0282`.