diff options
| author | The 8472 <git@infinite-source.de> | 2023-12-19 22:16:58 +0100 |
|---|---|---|
| committer | The 8472 <git@infinite-source.de> | 2023-12-19 22:17:38 +0100 |
| commit | f6150db78ff066db1dd2840765cff690e48e6b29 (patch) | |
| tree | c4ecc1d034ed0bb0dd219d15aa9c4dbc51bead2a | |
| parent | 81997094e6e38da15a8939c7a8ab8aae2e00e09a (diff) | |
| download | rust-f6150db78ff066db1dd2840765cff690e48e6b29.tar.gz rust-f6150db78ff066db1dd2840765cff690e48e6b29.zip | |
update natvis to match changed RawVec structure
| -rw-r--r-- | src/etc/natvis/liballoc.natvis | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/etc/natvis/liballoc.natvis b/src/etc/natvis/liballoc.natvis index 00c17d83322..da307809f7b 100644 --- a/src/etc/natvis/liballoc.natvis +++ b/src/etc/natvis/liballoc.natvis @@ -4,7 +4,7 @@ <DisplayString>{{ len={len} }}</DisplayString> <Expand> <Item Name="[len]" ExcludeView="simple">len</Item> - <Item Name="[capacity]" ExcludeView="simple">buf.cap</Item> + <Item Name="[capacity]" ExcludeView="simple">buf.cap.__0</Item> <ArrayItems> <Size>len</Size> <ValuePointer>buf.ptr.pointer.pointer</ValuePointer> @@ -15,7 +15,7 @@ <DisplayString>{{ len={len} }}</DisplayString> <Expand> <Item Name="[len]" ExcludeView="simple">len</Item> - <Item Name="[capacity]" ExcludeView="simple">buf.cap</Item> + <Item Name="[capacity]" ExcludeView="simple">buf.cap.__0</Item> <CustomListItems> <Variable Name="i" InitialValue="0" /> <Size>len</Size> @@ -23,7 +23,7 @@ <If Condition="i == len"> <Break/> </If> - <Item>buf.ptr.pointer.pointer[(i + head) % buf.cap]</Item> + <Item>buf.ptr.pointer.pointer[(i + head) % buf.cap.__0]</Item> <Exec>i = i + 1</Exec> </Loop> </CustomListItems> @@ -45,7 +45,7 @@ <StringView>(char*)vec.buf.ptr.pointer.pointer,[vec.len]s8</StringView> <Expand> <Item Name="[len]" ExcludeView="simple">vec.len</Item> - <Item Name="[capacity]" ExcludeView="simple">vec.buf.cap</Item> + <Item Name="[capacity]" ExcludeView="simple">vec.buf.cap.__0</Item> <Synthetic Name="[chars]"> <DisplayString>{(char*)vec.buf.ptr.pointer.pointer,[vec.len]s8}</DisplayString> <Expand> |
