@@ -99,7 +99,7 @@ const SINGLE_VARIANT_VIRTUAL_DISR: u64 = 0;
9999/// compiler versions. 
100100/// 
101101/// Niche-tag enums have one special variant, usually called the 
102- /// "dataful  variant". This variant has a field that 
102+ /// "untagged  variant". This variant has a field that 
103103/// doubles as the tag of the enum. The variant is active when the value of 
104104/// that field is within a pre-defined range. Therefore the variant struct 
105105/// has a `DISCR_BEGIN` and `DISCR_END` field instead of `DISCR_EXACT` in 
@@ -249,7 +249,7 @@ pub(super) fn build_enum_type_di_node<'ll, 'tcx>(
249249                    None , 
250250                ) , 
251251                Variants :: Multiple  { 
252-                     tag_encoding :  TagEncoding :: Niche  {  dataful_variant ,  .. } , 
252+                     tag_encoding :  TagEncoding :: Niche  {  untagged_variant ,  .. } , 
253253                    ref  variants, 
254254                    tag_field, 
255255                    ..
@@ -260,7 +260,7 @@ pub(super) fn build_enum_type_di_node<'ll, 'tcx>(
260260                    enum_type_di_node, 
261261                    variants. indices ( ) , 
262262                    tag_field, 
263-                     Some ( dataful_variant ) , 
263+                     Some ( untagged_variant ) , 
264264                ) , 
265265            } 
266266        } , 
@@ -391,7 +391,7 @@ fn build_union_fields_for_enum<'ll, 'tcx>(
391391    enum_type_di_node :  & ' ll  DIType , 
392392    variant_indices :  impl  Iterator < Item  = VariantIdx >  + Clone , 
393393    tag_field :  usize , 
394-     dataful_variant_index :  Option < VariantIdx > , 
394+     untagged_variant_index :  Option < VariantIdx > , 
395395)  -> SmallVec < & ' ll  DIType >  { 
396396    let  tag_base_type = super :: tag_base_type ( cx,  enum_type_and_layout) ; 
397397
@@ -436,7 +436,7 @@ fn build_union_fields_for_enum<'ll, 'tcx>(
436436        variant_names_type_di_node, 
437437        tag_base_type, 
438438        tag_field, 
439-         dataful_variant_index , 
439+         untagged_variant_index , 
440440    ) 
441441} 
442442
@@ -472,7 +472,7 @@ fn build_variant_struct_wrapper_type_di_node<'ll, 'tcx>(
472472    enum_or_generator_type_and_layout :  TyAndLayout < ' tcx > , 
473473    enum_or_generator_type_di_node :  & ' ll  DIType , 
474474    variant_index :  VariantIdx , 
475-     dataful_variant_index :  Option < VariantIdx > , 
475+     untagged_variant_index :  Option < VariantIdx > , 
476476    variant_struct_type_di_node :  & ' ll  DIType , 
477477    variant_names_type_di_node :  & ' ll  DIType , 
478478    tag_base_type_di_node :  & ' ll  DIType , 
@@ -517,7 +517,7 @@ fn build_variant_struct_wrapper_type_di_node<'ll, 'tcx>(
517517                    } 
518518                } 
519519                DiscrResult :: Range ( min,  max)  => { 
520-                     assert_eq ! ( Some ( variant_index) ,  dataful_variant_index ) ; 
520+                     assert_eq ! ( Some ( variant_index) ,  untagged_variant_index ) ; 
521521                    if  is_128_bits { 
522522                        DiscrKind :: Range128 ( min,  max) 
523523                    }  else  { 
@@ -757,7 +757,7 @@ fn build_union_fields_for_direct_tag_enum_or_generator<'ll, 'tcx>(
757757    discr_type_di_node :  & ' ll  DIType , 
758758    tag_base_type :  Ty < ' tcx > , 
759759    tag_field :  usize , 
760-     dataful_variant_index :  Option < VariantIdx > , 
760+     untagged_variant_index :  Option < VariantIdx > , 
761761)  -> SmallVec < & ' ll  DIType >  { 
762762    let  tag_base_type_di_node = type_di_node ( cx,  tag_base_type) ; 
763763    let  mut  unions_fields = SmallVec :: with_capacity ( variant_field_infos. len ( )  + 1 ) ; 
@@ -776,7 +776,7 @@ fn build_union_fields_for_direct_tag_enum_or_generator<'ll, 'tcx>(
776776            enum_type_and_layout, 
777777            enum_type_di_node, 
778778            variant_member_info. variant_index , 
779-             dataful_variant_index , 
779+             untagged_variant_index , 
780780            variant_member_info. variant_struct_type_di_node , 
781781            discr_type_di_node, 
782782            tag_base_type_di_node, 
0 commit comments