Function rustc_trait_selection::traits::supertraits
source · pub fn supertraits<'tcx>(
tcx: TyCtxt<'tcx>,
trait_ref: Binder<'tcx, TraitRef<'tcx>>
) -> impl Iterator<Item = Binder<'tcx, TraitRef<'tcx>>>
pub fn supertraits<'tcx>(
tcx: TyCtxt<'tcx>,
trait_ref: Binder<'tcx, TraitRef<'tcx>>
) -> impl Iterator<Item = Binder<'tcx, TraitRef<'tcx>>>