Skip to main content

rebind_ty

Function rebind_ty 

Source
fn rebind_ty<'tcx>(ty: &mut Ty<'tcx>, callee_args: &GenericArgs<'tcx>)
Expand description

Replace a leaf callee’s type parameter (TyKind::Param) with the concrete type argument passed at the call site.