[][src]Function rustc::traits::project::assoc_ty_def

fn assoc_ty_def<'cx, 'gcx, 'tcx>(
    selcx: &SelectionContext<'cx, 'gcx, 'tcx>,
    impl_def_id: DefId,
    assoc_ty_def_id: DefId
) -> NodeItem<AssociatedItem>
🔬 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?

Locate the definition of an associated type in the specialization hierarchy, starting from the given impl.

Based on the "projection mode", this lookup may in fact only examine the topmost impl. See the comments for Reveal for more details.