We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf45479 commit c68ffadCopy full SHA for c68ffad
src/etc/natvis/liballoc.natvis
@@ -7,7 +7,7 @@
7
<Item Name="[capacity]" ExcludeView="simple">buf.inner.cap.__0</Item>
8
<ArrayItems>
9
<Size>len</Size>
10
- <ValuePointer>buf.inner.ptr.pointer.pointer</ValuePointer>
+ <ValuePointer>($T1*)buf.inner.ptr.pointer.pointer</ValuePointer>
11
</ArrayItems>
12
</Expand>
13
</Type>
@@ -23,7 +23,7 @@
23
<If Condition="i == len">
24
<Break/>
25
</If>
26
- <Item>buf.inner.ptr.pointer.pointer[(i + head) % buf.inner.cap.__0]</Item>
+ <Item>(($T1*)buf.inner.ptr.pointer.pointer)[(i + head) % buf.inner.cap.__0]</Item>
27
<Exec>i = i + 1</Exec>
28
</Loop>
29
</CustomListItems>
0 commit comments