Struct rustc_typeck::coherence::inherent_impls_overlap::InherentOverlapChecker [−][src]
struct InherentOverlapChecker<'tcx> {
tcx: TyCtxt<'tcx>,
}Fields
tcx: TyCtxt<'tcx>Implementations
fn impls_have_common_items(
&self,
impl_items1: &AssocItems<'_>,
impl_items2: &AssocItems<'_>
) -> bool
fn impls_have_common_items(
&self,
impl_items1: &AssocItems<'_>,
impl_items2: &AssocItems<'_>
) -> boolChecks whether any associated items in impls 1 and 2 share the same identifier and namespace.
fn check_for_common_items_in_impls(
&self,
impl1: DefId,
impl2: DefId,
overlap: OverlapResult<'_>
)Trait Implementations
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for InherentOverlapChecker<'tcx>impl<'tcx> !Send for InherentOverlapChecker<'tcx>impl<'tcx> !Sync for InherentOverlapChecker<'tcx>impl<'tcx> Unpin for InherentOverlapChecker<'tcx>impl<'tcx> !UnwindSafe for InherentOverlapChecker<'tcx>Blanket Implementations
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 8 bytes