rustc_const_eval::interpret::intrinsics

Function alloc_type_name

Source
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.