Function rustc::middle::traits::select_inherent_implExperimental [-]  [+] [src]

pub fn select_inherent_impl<'a, 'tcx>(infcx: &InferCtxt<'a, 'tcx>, param_env: &ParameterEnvironment<'tcx>, typer: &Typer<'tcx>, cause: ObligationCause<'tcx>, impl_def_id: DefId, self_ty: Ty<'tcx>) -> SelectionResult<'tcx, VtableImplData<'tcx, Obligation<'tcx>>>

Matches the self type of the inherent impl impl_def_id against self_ty and returns the resulting resolution. This routine may modify the surrounding type context (for example, it may unify variables).