pub(crate) struct PrivateItemsInPublicInterfacesChecker<'tcx> {
pub(crate) tcx: TyCtxt<'tcx>,
pub(crate) old_error_set_ancestry: LocalDefIdSet,
}
Fields
tcx: TyCtxt<'tcx>
old_error_set_ancestry: LocalDefIdSet
Implementations
sourceimpl<'tcx> PrivateItemsInPublicInterfacesChecker<'tcx>
impl<'tcx> PrivateItemsInPublicInterfacesChecker<'tcx>
pub(crate) fn check(
&self,
def_id: LocalDefId,
required_visibility: Visibility
) -> SearchInterfaceForPrivateItemsVisitor<'tcx>
pub(crate) fn check_assoc_item(
&self,
def_id: LocalDefId,
assoc_item_kind: AssocItemKind,
vis: Visibility
)
pub fn check_item(&mut self, id: ItemId)
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for PrivateItemsInPublicInterfacesChecker<'tcx>
impl<'tcx> !Send for PrivateItemsInPublicInterfacesChecker<'tcx>
impl<'tcx> !Sync for PrivateItemsInPublicInterfacesChecker<'tcx>
impl<'tcx> Unpin for PrivateItemsInPublicInterfacesChecker<'tcx>
impl<'tcx> !UnwindSafe for PrivateItemsInPublicInterfacesChecker<'tcx>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
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: 40 bytes