Struct rustc_privacy::PrivateItemsInPublicInterfacesVisitor[−][src]

pub(crate) struct PrivateItemsInPublicInterfacesVisitor<'tcx> {
    tcx: TyCtxt<'tcx>,
    has_pub_restricted: bool,
    old_error_set_ancestry: HirIdSet,
}

Fields

tcx: TyCtxt<'tcx>has_pub_restricted: boolold_error_set_ancestry: HirIdSet

Implementations

impl<'tcx> PrivateItemsInPublicInterfacesVisitor<'tcx>[src]

pub(crate) fn check(
    &self,
    item_id: HirId,
    required_visibility: Visibility
) -> SearchInterfaceForPrivateItemsVisitor<'tcx>
[src]

pub(crate) fn check_assoc_item(
    &self,
    hir_id: HirId,
    assoc_item_kind: AssocItemKind,
    defaultness: Defaultness,
    vis: Visibility
)
[src]

Trait Implementations

impl<'tcx> Visitor<'tcx> for PrivateItemsInPublicInterfacesVisitor<'tcx>[src]

type Map = Map<'tcx>

Auto Trait Implementations

impl<'tcx> !RefUnwindSafe for PrivateItemsInPublicInterfacesVisitor<'tcx>

impl<'tcx> !Send for PrivateItemsInPublicInterfacesVisitor<'tcx>

impl<'tcx> !Sync for PrivateItemsInPublicInterfacesVisitor<'tcx>

impl<'tcx> Unpin for PrivateItemsInPublicInterfacesVisitor<'tcx>

impl<'tcx> !UnwindSafe for PrivateItemsInPublicInterfacesVisitor<'tcx>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized, 
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.