diff options
| author | Josh Stone <jistone@redhat.com> | 2022-05-16 17:39:34 -0700 |
|---|---|---|
| committer | Josh Stone <jistone@redhat.com> | 2022-05-16 17:39:34 -0700 |
| commit | 1c3921fa43ecc6438a1f4d5365d2f99caad7b847 (patch) | |
| tree | 3c91ae432e95aa75cd2a79c79f8a86c1698f2ca8 | |
| parent | 1f33c921d1e030c1d293b774df079996bcfb2f68 (diff) | |
| download | rust-1c3921fa43ecc6438a1f4d5365d2f99caad7b847.tar.gz rust-1c3921fa43ecc6438a1f4d5365d2f99caad7b847.zip | |
Read the Ref/RefMut pointer in natvis
| -rw-r--r-- | src/etc/natvis/libcore.natvis | 8 |
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<*>"> - <DisplayString>{value}</DisplayString> + <DisplayString>{value.pointer}</DisplayString> <Expand> - <ExpandedItem>value</ExpandedItem> + <ExpandedItem>value.pointer</ExpandedItem> </Expand> </Type> <Type Name="core::cell::RefMut<*>"> - <DisplayString>{value}</DisplayString> + <DisplayString>{value.pointer}</DisplayString> <Expand> - <ExpandedItem>value</ExpandedItem> + <ExpandedItem>value.pointer</ExpandedItem> </Expand> </Type> <Type Name="core::cell::RefCell<*>"> |
