Function rustc_trans::middle::traits::is_orphan_implExperimental
[-]
[+]
[src]
pub fn is_orphan_impl(tcx: &ctxt, impl_def_id: DefId) -> bool
True if neither the trait nor self type is local. Note that impl_def_id
must refer to an impl
of a trait, not an inherent impl.