pub fn compute_debuginfo_vtable_name<'tcx>(
tcx: TyCtxt<'tcx>,
t: Ty<'tcx>,
trait_ref: Option<PolyExistentialTraitRef<'tcx>>
) -> StringExpand description
Computes a name for the global variable storing a vtable.
The name is of the form:
<path::to::SomeType as path::to::SomeTrait>::{vtable}
or, when generating C++-like names:
impl$<path::to::SomeType, path::to::SomeTrait>::vtable$