about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/debug.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
commit8aca068215d6b7d5e54364b1e6ec953c7ecdaf64 (patch)
treed2de257a7dbe5d262e32e2d9dbe9905ae6714fa4 /compiler/rustc_mir_transform/src/coverage/debug.rs
parent406241832efef6efbf553a8ba332a6da37e19365 (diff)
parenta4f99149fce5ce1ea03a85f73d06d29ee7bd6d5e (diff)
downloadrust-8aca068215d6b7d5e54364b1e6ec953c7ecdaf64.tar.gz
rust-8aca068215d6b7d5e54364b1e6ec953c7ecdaf64.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_mir_transform/src/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions