pub(crate) fn monomorphize_instance<'tcx>(
tcx: TyCtxt<'tcx>,
def_id: DefId,
param_id: DefId,
concrete_ty: Ty<'tcx>,
) -> Instance<'tcx>Expand description
Build a partially-monomorphized [Instance] for def_id, replacing one
type parameter and leaving the others as parameters.