Function rustc::middle::typeck::coherence::make_substs_for_receiver_types[src]

pub fn make_substs_for_receiver_types(tcx: &ctxt, trait_ref: &TraitRef, method: &Method) -> Substs

Substitutes the values for the receiver's type parameters that are found in method, leaving the method's type parameters intact.