diff options
| author | lcnr <rust@lcnr.de> | 2025-04-11 10:42:45 +0200 |
|---|---|---|
| committer | lcnr <rust@lcnr.de> | 2025-04-11 11:01:53 +0200 |
| commit | 8cb727424dde83b841610700e40f399848e57700 (patch) | |
| tree | 0a994e8dae885945ee7792342f0c45ffdc3f8d98 /tests/codegen/patchable-function-entry | |
| parent | 923f44c6313b86f3c1eeec264dce1a4317c8bbf6 (diff) | |
| download | rust-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
