about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/osstring-to-string.js
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2023-11-23 20:02:45 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2023-11-23 20:17:19 +0000
commit4ae658683f87b0f34ffb5c06f50ca1c51333a1a4 (patch)
tree0aa817138b1c4142147f3965fe7fe213ecf4f948 /tests/rustdoc-js-std/osstring-to-string.js
parentdfc669b74c214ad5afeb94211ebe1fd70ac8d43a (diff)
downloadrust-4ae658683f87b0f34ffb5c06f50ca1c51333a1a4.tar.gz
rust-4ae658683f87b0f34ffb5c06f50ca1c51333a1a4.zip
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/osstring-to-string.js')
0 files changed, 0 insertions, 0 deletions