Function rustc::middle::traits::overlapping_implsUnstable [-] [+] [src]

pub fn overlapping_impls(infcx: &InferCtxt, impl1_def_id: DefId, impl2_def_id: DefId) -> bool

True if there exist types that satisfy both of the two given impls.