rustc_hir_analysis::check::compare_impl_item

Function compare_type_predicate_entailment

source
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.