about summary refs log tree commit diff
path: root/tests/codegen/patchable-function-entry
diff options
context:
space:
mode:
authorlcnr <rust@lcnr.de>2025-04-11 10:42:45 +0200
committerlcnr <rust@lcnr.de>2025-04-11 11:01:53 +0200
commit8cb727424dde83b841610700e40f399848e57700 (patch)
tree0a994e8dae885945ee7792342f0c45ffdc3f8d98 /tests/codegen/patchable-function-entry
parent923f44c6313b86f3c1eeec264dce1a4317c8bbf6 (diff)
downloadrust-8cb727424dde83b841610700e40f399848e57700.tar.gz
rust-8cb727424dde83b841610700e40f399848e57700.zip
use input `def_id` to compute `movable_coroutine`
This previously incorrectly returned `true` for parent functions whose
first statement was `let local = <coroutine>;`. While that didn't cause
any bugs as we only ever access `movable_coroutine` for `yield`
terminators. It was still wrong.
Diffstat (limited to 'tests/codegen/patchable-function-entry')
0 files changed, 0 insertions, 0 deletions