[−][src]Struct rustc_passes::hir_id_validator::HirIdValidator

pub(in hir_id_validator) struct HirIdValidator<'a, 'hir> {
    hir_map: Map<'hir>,
    owner: Option<LocalDefId>,
    hir_ids_seen: FxHashSet<ItemLocalId>,
    errors: &'a Lock<Vec<String>>,
}

Fields

hir_map: Map<'hir>owner: Option<LocalDefId>hir_ids_seen: FxHashSet<ItemLocalId>errors: &'a Lock<Vec<String>>

Implementations

impl<'a, 'hir> HirIdValidator<'a, 'hir>[src]

pub(in hir_id_validator) fn error(
    &self,
    f: impl FnOnce() -> String
)
[src]

pub(in hir_id_validator) fn check<F: FnOnce(&mut HirIdValidator<'a, 'hir>)>(
    &mut self,
    hir_id: HirId,
    walk: F
)
[src]

Trait Implementations

impl<'a, 'hir> Visitor<'hir> for HirIdValidator<'a, 'hir>[src]

type Map = Map<'hir>

Auto Trait Implementations

impl<'a, 'hir> !RefUnwindSafe for HirIdValidator<'a, 'hir>

impl<'a, 'hir> !Send for HirIdValidator<'a, 'hir>

impl<'a, 'hir> !Sync for HirIdValidator<'a, 'hir>

impl<'a, 'hir> Unpin for HirIdValidator<'a, 'hir>

impl<'a, 'hir> !UnwindSafe for HirIdValidator<'a, 'hir>

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.