about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-09-05 18:58:55 +0200
committerGitHub <noreply@github.com>2024-09-05 18:58:55 +0200
commit11085aa73a2e699480f8f2b2f7758b27627008ea (patch)
treedd27604f2ea9556574c1211b487d1d77cb9f70e3 /compiler/rustc_codegen_llvm/src
parent6a23ee55957c0037a69c1baf8552916045443bb3 (diff)
parent8860008e7f3bf67c420d2d1ce4bc333c08886eb2 (diff)
downloadrust-11085aa73a2e699480f8f2b2f7758b27627008ea.tar.gz
rust-11085aa73a2e699480f8f2b2f7758b27627008ea.zip
Rollup merge of #129706 - compiler-errors:scratch, r=estebank
Rename dump of coroutine by-move-body to be more consistent, fix ICE in dump_mir

First, we add a missing match for `DefKind::SyntheticCoroutineBody` in `dump_mir`. Fixes #129703. The second commit (directly below) serves as a test.

Second, we reorder the `dump_mir` in `coroutine_by_move_body_def_id` to be *after* we adjust the body source, and change the disambiguator so it reads more like any other MIR body. This also serves as a test for the ICE, since we're dumping the MIR of a body with `DefKind::SyntheticCoroutineBody`.

Third, we change the parenting of the synthetic MIR body to have the *coroutine-closure* (i.e. async closure) as its parent, so we don't have long strings of `{closure#0}-{closure#0}-{closure#0}`.

try-job: test-various
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions