]> git.lizzy.rs Git - rust.git/commit
Fix Async Generator ABI
authorArpad Borsos <swatinem@swatinem.de>
Tue, 29 Nov 2022 22:17:08 +0000 (23:17 +0100)
committerArpad Borsos <swatinem@swatinem.de>
Thu, 8 Dec 2022 22:27:57 +0000 (23:27 +0100)
commitecf812777a260e35ec9cd0c7d9dbd17a3f5cf5f9
treea2bd1e3681603ee9730d2dde8658662d353e71e2
parent7632db0e87d8adccc9a83a47795c9411b1455855
Fix Async Generator ABI

This change was missed when making async generators implement `Future` directly.
It did not cause any problems in codegen so far, as `GeneratorState<(), Output>`
happens to have the same ABI as `Poll<Output>`.
compiler/rustc_ty_utils/src/abi.rs