X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;ds=sidebyside;f=src%2Ftest%2Fui%2Finference%2Fcannot-infer-async-enabled-impl-trait-bindings.stderr;h=2875cef680117215236af8f365ebb5e6f3d31937;hb=5b90fe1c3094050eecbb7be7440b398e98d0caa2;hp=2f630c2c9ad71a2fafc2b61376d5493bdd011585;hpb=8fde4be7d042a348387a82832a44076cfbf334ca;p=rust.git diff --git a/src/test/ui/inference/cannot-infer-async-enabled-impl-trait-bindings.stderr b/src/test/ui/inference/cannot-infer-async-enabled-impl-trait-bindings.stderr index 2f630c2c9ad..2875cef6801 100644 --- a/src/test/ui/inference/cannot-infer-async-enabled-impl-trait-bindings.stderr +++ b/src/test/ui/inference/cannot-infer-async-enabled-impl-trait-bindings.stderr @@ -13,7 +13,9 @@ error[E0282]: type annotations needed for `impl Future` LL | let fut = async { | --- consider giving `fut` the explicit type `impl Future`, with the type parameters specified LL | make_unit()?; - | ^ cannot infer type + | ^ cannot infer type of error for `?` operator + | + = note: `?` implicitly converts the error value into a type implementing `From` error: aborting due to previous error; 1 warning emitted