Function rustc_trait_selection::traits::coherence::negative_impl
source · Expand description
Given impl1 and impl2 check if both impls are never satisfied by a common type (including where-clauses) If so, return true, they are disjoint and false otherwise.