We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc9944f commit 26be83bCopy full SHA for 26be83b
compiler/rustc_symbol_mangling/src/legacy.rs
@@ -56,15 +56,7 @@ pub(super) fn mangle(
56
let hash = get_symbol_hash(tcx, instance, instance_ty, instantiating_crate);
57
58
let mut printer = SymbolPrinter { tcx, path: SymbolPath::new(), keep_within_component: false }
59
- .print_def_path(
60
- def_id,
61
- if let ty::InstanceDef::DropGlue(_, _) = instance.def {
62
- // Add the name of the dropped type to the symbol name
63
- &*instance.substs
64
- } else {
65
- &[]
66
- },
67
- )
+ .print_def_path(def_id, &[])
68
.unwrap();
69
70
if let ty::InstanceDef::VtableShim(..) = instance.def {
0 commit comments