Function rustc::traits::specialization_graph::ancestors
[−]
[src]
pub fn ancestors<'a, 'tcx>(trait_def: &'a TraitDef<'tcx>, start_from_impl: DefId) -> Ancestors<'a, 'tcx>
Unstable (
rustc_private
)Walk up the specialization ancestors of a given impl, starting with that impl itself.