about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/debug.rs
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2022-05-22 11:53:05 +0900
committerGitHub <noreply@github.com>2022-05-22 11:53:05 +0900
commitd22ebf0d1346f7d36e15882c23871a8f9ff60eb9 (patch)
tree7b690be87d8376268876c2c4fbb590c6152d7c8e /compiler/rustc_mir_transform/src/coverage/debug.rs
parente1340f2d3ca6827a24e5d00139b78362460330c2 (diff)
parent83abb7c18f999617d08f8b715f0c7256b3f09e7c (diff)
downloadrust-d22ebf0d1346f7d36e15882c23871a8f9ff60eb9.tar.gz
rust-d22ebf0d1346f7d36e15882c23871a8f9ff60eb9.zip
Rollup merge of #97225 - cuviper:ref-display, r=scottmcm
Fix `Display` for `cell::{Ref,RefMut}`

These guards changed to pointers in #97027, but their `Display` was
formatting that field directly, which made it show the raw pointer
value. Now we go through `Deref` to display the real value again.

Miri noticed this change, #97204, so hopefully that will be fixed.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions