pub(crate) fn alloc_type_name<'tcx>(
tcx: TyCtxt<'tcx>,
ty: Ty<'tcx>,
) -> ConstAllocation<'tcx>
Expand description
Directly returns an Allocation
containing an absolute path representation of the given type.
pub(crate) fn alloc_type_name<'tcx>(
tcx: TyCtxt<'tcx>,
ty: Ty<'tcx>,
) -> ConstAllocation<'tcx>
Directly returns an Allocation
containing an absolute path representation of the given type.