Function rustc_infer::traits::util::supertraits
source · pub fn supertraits<'tcx>(
tcx: TyCtxt<'tcx>,
trait_ref: PolyTraitRef<'tcx>
) -> impl Iterator<Item = PolyTraitRef<'tcx>>
pub fn supertraits<'tcx>(
tcx: TyCtxt<'tcx>,
trait_ref: PolyTraitRef<'tcx>
) -> impl Iterator<Item = PolyTraitRef<'tcx>>