mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-28 20:16:58 +03:00
75b557a2c4
The type inference of argument-position closures and async blocks regressed in 1.70 as the evaluation order of async blocks changed, as they are not implicitly wrapped in an identity-function anymore. Fixes #112225 by making sure the evaluation order stays the same as it used to.