diff options
| author | Wesley Wiser <wesleywiser@microsoft.com> | 2021-05-20 13:58:13 -0400 |
|---|---|---|
| committer | Wesley Wiser <wesleywiser@microsoft.com> | 2021-06-02 10:23:12 -0400 |
| commit | ef053fd6f0faa848097ff8b924ac859c667c8d15 (patch) | |
| tree | 0309f2d825d221c9893c3d273e5fe671ad4d105b /src/etc | |
| parent | d2d6fa852d22eb4e9259cd708e33e7afaa9211d0 (diff) | |
| download | rust-ef053fd6f0faa848097ff8b924ac859c667c8d15.tar.gz rust-ef053fd6f0faa848097ff8b924ac859c667c8d15.zip | |
Change the type name from `_enum<..>` to `enum$<..>`
This makes the type name inline with the proposed standard in #85269.
Diffstat (limited to 'src/etc')
| -rw-r--r-- | src/etc/natvis/intrinsic.natvis | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/etc/natvis/intrinsic.natvis b/src/etc/natvis/intrinsic.natvis index 82d3ab15a70..09b5c9f091d 100644 --- a/src/etc/natvis/intrinsic.natvis +++ b/src/etc/natvis/intrinsic.natvis @@ -149,7 +149,7 @@ <Synthetic Name="[...]"><DisplayString>...</DisplayString></Synthetic> </Expand> </Type> - <Type Name="_enum<*>"> + <Type Name="enum$<*>"> <Intrinsic Name="tag" Expression="Variant0.variant$" /> <DisplayString Condition="tag() == 0">{tag(),en}</DisplayString> <DisplayString Condition="tag() == 1" Optional="true">{tag(),en}</DisplayString> @@ -189,7 +189,7 @@ </Type> <!-- $T1 is the name of the enum, $T2 is the low value of the dataful variant tag, $T3 is the high value of the dataful variant tag, $T4 is the name of the dataful variant --> - <Type Name="_enum<*, *, *, *>"> + <Type Name="enum$<*, *, *, *>"> <Intrinsic Name="tag" Expression="discriminant$.discriminant" /> <Intrinsic Name="is_dataful" Expression="tag() >= $T2 && tag() <= $T3" /> <DisplayString Condition="is_dataful()">{"$T4",sb}({dataful_variant})</DisplayString> |
