pub fn compute_debuginfo_type_name<'tcx>(
    tcx: TyCtxt<'tcx>,
    t: Ty<'tcx>,
    qualified: bool
) -> String
Expand description

Compute the name of the type as it should be stored in debuginfo. Does not do any caching, i.e., calling the function twice with the same type will also do the work twice. The qualified parameter only affects the first level of the type name, further levels (i.e., type parameters) are always fully qualified.