rustc_infer::traits::util

Function supertraits

Source
pub fn supertraits<I>(
    cx: I,
    trait_ref: Binder<I, TraitRef<I>>,
) -> FilterToTraits<I, Elaborator<I, <I as Interner>::Clause>> 
where I: Interner,