pub trait TypeErrCtxtAmbiguityExt<'a, 'tcx> {
// Required methods
fn maybe_report_ambiguity(
&self,
obligation: &PredicateObligation<'tcx>,
) -> ErrorGuaranteed;
fn annotate_source_of_ambiguity(
&self,
err: &mut Diag<'_>,
ambiguities: &[CandidateSource],
predicate: Predicate<'tcx>,
);
}