[−][src]Function rustc_trait_selection::traits::util::transitive_bounds

pub fn transitive_bounds<'tcx>(
    tcx: TyCtxt<'tcx>,
    bounds: impl Iterator<Item = Binder<TraitRef<'tcx>>>
) -> FilterToTraits<Elaborator<'tcx>>ⓘ

Notable traits for FilterToTraits<I>

impl<'tcx, I> Iterator for FilterToTraits<I> where
    I: Iterator<Item = Obligation<'tcx, Predicate<'tcx>>>, 
type Item = Binder<TraitRef<'tcx>>;