rustc_trait_selection::error_reporting::traits::ambiguity

Function compute_applicable_impls_for_diagnostics

Source
pub fn compute_applicable_impls_for_diagnostics<'tcx>(
    infcx: &InferCtxt<'tcx>,
    obligation: &PolyTraitObligation<'tcx>,
) -> Vec<CandidateSource>