fn compare_type_predicate_entailment<'tcx>(
    tcx: TyCtxt<'tcx>,
    impl_ty: AssocItem,
    trait_ty: AssocItem,
    impl_trait_ref: TraitRef<'tcx>
) -> Result<(), ErrorGuaranteed>
Expand description

The equivalent of compare_method_predicate_entailment, but for associated types instead of associated functions.