about summary refs log tree commit diff
path: root/compiler/rustc_hir/src
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2025-03-12 10:19:28 -0700
committerGitHub <noreply@github.com>2025-03-12 10:19:28 -0700
commitf5eb296c5a6b94fca007cd7658c7d0e6b20905f4 (patch)
treef80526ae903df73673244a417205db29da3852f4 /compiler/rustc_hir/src
parent2d7a592c62f162d3f96192e2381bb1afbcb94e42 (diff)
parent9213cb80c29941a7fb752413613c2c68f7e7d7b3 (diff)
downloadrust-f5eb296c5a6b94fca007cd7658c7d0e6b20905f4.tar.gz
rust-f5eb296c5a6b94fca007cd7658c7d0e6b20905f4.zip
Rollup merge of #138280 - folkertdev:mir-dump-asm-const, r=compiler-errors
fix ICE in pretty-printing `global_asm!`

fixes https://github.com/rust-lang/rust/issues/138260

since https://github.com/rust-lang/rust/pull/137180, `global_asm!` gets a fake body, that the pretty printing logic did not know what to do with.

based on [#t-compiler/help > tests for MIR pretty printing](https://rust-lang.zulipchat.com/#narrow/channel/182449-t-compiler.2Fhelp/topic/tests.20for.20MIR.20pretty.20printing) I created `tests/ui/unpretty/mir` which seemed as good a place as any for a test. If there is a better place, let me know.

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