about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2022-05-16 17:39:34 -0700
committerJosh Stone <jistone@redhat.com>2022-05-16 17:39:34 -0700
commit1c3921fa43ecc6438a1f4d5365d2f99caad7b847 (patch)
tree3c91ae432e95aa75cd2a79c79f8a86c1698f2ca8
parent1f33c921d1e030c1d293b774df079996bcfb2f68 (diff)
downloadrust-1c3921fa43ecc6438a1f4d5365d2f99caad7b847.tar.gz
rust-1c3921fa43ecc6438a1f4d5365d2f99caad7b847.zip
Read the Ref/RefMut pointer in natvis
-rw-r--r--src/etc/natvis/libcore.natvis8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/etc/natvis/libcore.natvis b/src/etc/natvis/libcore.natvis
index 643590fc977..a4e8a57e4b1 100644
--- a/src/etc/natvis/libcore.natvis
+++ b/src/etc/natvis/libcore.natvis
@@ -7,15 +7,15 @@
     </Expand>
   </Type>
   <Type Name="core::cell::Ref&lt;*&gt;">
-    <DisplayString>{value}</DisplayString>
+    <DisplayString>{value.pointer}</DisplayString>
     <Expand>
-      <ExpandedItem>value</ExpandedItem>
+      <ExpandedItem>value.pointer</ExpandedItem>
     </Expand>
   </Type>
   <Type Name="core::cell::RefMut&lt;*&gt;">
-    <DisplayString>{value}</DisplayString>
+    <DisplayString>{value.pointer}</DisplayString>
     <Expand>
-      <ExpandedItem>value</ExpandedItem>
+      <ExpandedItem>value.pointer</ExpandedItem>
     </Expand>
   </Type>
   <Type Name="core::cell::RefCell&lt;*&gt;">