[−][src]Function rustc::traits::specialize::specialization_graph::ancestors
ⓘImportant traits for Ancestors
pub fn ancestors(
tcx: TyCtxt,
trait_def_id: DefId,
start_from_impl: DefId
) -> Ancestors
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Walk up the specialization ancestors of a given impl, starting with that impl itself.