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<'_>
) -> bool
Checks 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
impl<'tcx> !Send for InherentOverlapChecker
impl<'tcx> !Sync for InherentOverlapChecker
impl<'tcx> Unpin for InherentOverlapChecker
impl<'tcx> !UnwindSafe for InherentOverlapChecker
Blanket Implementations
Layout
Note: Most layout information is completely unstable and may even differ between compilations. 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
