about summary refs log tree commit diff
path: root/compiler/rustc_codegen_cranelift/example/alloc_example.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-07-06 00:00:38 +0000
committerbors <bors@rust-lang.org>2023-07-06 00:00:38 +0000
commitbd8aabef316bf8779193798eaf35b8749221a9b4 (patch)
treec12d6537b59ae69ddb90ae7676873de029cd71b4 /compiler/rustc_codegen_cranelift/example/alloc_example.rs
parentd9c13cd4531649c2028a8384cb4d4e54f985380e (diff)
parent3dfc7ec05d1ac233af6f614eaedc67522e20d930 (diff)
downloadrust-bd8aabef316bf8779193798eaf35b8749221a9b4.tar.gz
rust-bd8aabef316bf8779193798eaf35b8749221a9b4.zip
Auto merge of #113291 - oli-obk:pretty_print_mir_const, r=RalfJung
Specialize `try_destructure_mir_constant` for its sole user (pretty printing)

We can't remove the query, as we need to invoke it from rustc_middle, but can only implement it in mir interpretation/const eval.

r? `@RalfJung` for a first round.

While we could move all the logic into pretty printing, that would end up duplicating a bit of code with const eval, which doesn't seem great either.
Diffstat (limited to 'compiler/rustc_codegen_cranelift/example/alloc_example.rs')
0 files changed, 0 insertions, 0 deletions