mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-03 02:40:40 +00:00

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.