Change the type name from _enum<..>
to enum$<..>
This makes the type name inline with the proposed standard in #85269.
This commit is contained in:
parent
d2d6fa852d
commit
ef053fd6f0
5 changed files with 44 additions and 44 deletions
|
@ -267,7 +267,7 @@ pub fn push_debuginfo_type_name<'tcx>(
|
|||
let max = dataful_discriminant_range.end();
|
||||
let max = tag.value.size(&tcx).truncate(*max);
|
||||
|
||||
output.push_str("_enum<");
|
||||
output.push_str("enum$<");
|
||||
push_item_name(tcx, def.did, true, output);
|
||||
push_type_params(tcx, substs, output, visited);
|
||||
|
||||
|
@ -275,7 +275,7 @@ pub fn push_debuginfo_type_name<'tcx>(
|
|||
|
||||
output.push_str(&format!(", {}, {}, {}>", min, max, dataful_variant_name));
|
||||
} else {
|
||||
output.push_str("_enum<");
|
||||
output.push_str("enum$<");
|
||||
push_item_name(tcx, def.did, true, output);
|
||||
push_type_params(tcx, substs, output, visited);
|
||||
output.push('>');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue