about summary refs log tree commit diff
path: root/src/etc
diff options
context:
space:
mode:
authorWesley Wiser <wesleywiser@microsoft.com>2021-05-20 13:58:13 -0400
committerWesley Wiser <wesleywiser@microsoft.com>2021-06-02 10:23:12 -0400
commitef053fd6f0faa848097ff8b924ac859c667c8d15 (patch)
tree0309f2d825d221c9893c3d273e5fe671ad4d105b /src/etc
parentd2d6fa852d22eb4e9259cd708e33e7afaa9211d0 (diff)
downloadrust-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.natvis4
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&lt;*&gt;">
+  <Type Name="enum$&lt;*&gt;">
     <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&lt;*, *, *, *&gt;">
+  <Type Name="enum$&lt;*, *, *, *&gt;">
     <Intrinsic Name="tag" Expression="discriminant$.discriminant" />
     <Intrinsic Name="is_dataful" Expression="tag() &gt;= $T2 &amp;&amp; tag() &lt;= $T3" />
     <DisplayString Condition="is_dataful()">{"$T4",sb}({dataful_variant})</DisplayString>