Function rustc::middle::ty::make_substs_for_receiver_typesUnstable
[-] [+]
[src]
pub fn make_substs_for_receiver_types<'tcx>(tcx: &ctxt<'tcx>, trait_ref: &TraitRef<'tcx>, method: &Method<'tcx>) -> Substs<'tcx>
Substitutes the values for the receiver's type parameters that are found in method, leaving the method's type parameters intact.