diff options
| author | bors <bors@rust-lang.org> | 2023-06-04 22:21:42 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-06-04 22:21:42 +0000 |
| commit | dcf3571c513a29a60a5061ce84c3c618cf5e4cd5 (patch) | |
| tree | 8f45620db083015fead8c7cea779fb31b17a942e /tests/rustdoc-js-std/enum-option.js | |
| parent | 101fa903bb9209d270086da279247625a2869211 (diff) | |
| parent | 75b557a2c416f997385a886b39e7ef7625073f5a (diff) | |
| download | rust-dcf3571c513a29a60a5061ce84c3c618cf5e4cd5.tar.gz rust-dcf3571c513a29a60a5061ce84c3c618cf5e4cd5.zip | |
Auto merge of #112266 - Swatinem:fix-async-block-inference, r=compiler-errors
Fix type-inference regression in #112225 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. r? `@compiler-errors` As this was a stable-to-stable regression, it might be worth to consider backporting. Although the workaround for this is trivial as well: Just wrap the async block in another block.
Diffstat (limited to 'tests/rustdoc-js-std/enum-option.js')
0 files changed, 0 insertions, 0 deletions
