diff options
| author | bors <bors@rust-lang.org> | 2023-11-24 00:26:24 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-11-24 00:26:24 +0000 |
| commit | 1fd418f92ed13db88a21865ba5d909abcf16b6cc (patch) | |
| tree | 4d790550dec9277300e1ef7d5a676491cfacf847 /tests/rustdoc-js-std/from_u.js | |
| parent | e68f935117fef05e7663605a5a6671a6bb4ce719 (diff) | |
| parent | 543e559c5300e8bd3be6d491897eaac327f9dc71 (diff) | |
| download | rust-1fd418f92ed13db88a21865ba5d909abcf16b6cc.tar.gz rust-1fd418f92ed13db88a21865ba5d909abcf16b6cc.zip | |
Auto merge of #118219 - bjorn3:fix_generator_fn_abi, r=compiler-errors
Fix fn_sig_for_fn_abi and the coroutine transform for generators There were three issues previously: * The self argument was pinned, despite Iterator::next taking an unpinned mutable reference. * A resume argument was passed, despite Iterator::next not having one. * The return value was CoroutineState<Item, ()> rather than Option<Item> While these things just so happened to work with the LLVM backend, cg_clif does much stricter checks when trying to assign a value to a place. In addition it can't handle the mismatch between the amount of arguments specified by the FnAbi and the FnSig.
Diffstat (limited to 'tests/rustdoc-js-std/from_u.js')
0 files changed, 0 insertions, 0 deletions
