[−][src]Struct rustc_lint::levels::LintLevelMapBuilder

pub(in levels) struct LintLevelMapBuilder<'a, 'tcx> {
    levels: LintLevelsBuilder<'tcx>,
    tcx: TyCtxt<'tcx>,
    store: &'a LintStore,
}

Fields

levels: LintLevelsBuilder<'tcx>tcx: TyCtxt<'tcx>store: &'a LintStore

Implementations

impl<'_, '_> LintLevelMapBuilder<'_, '_>[src]

pub(in levels) fn with_lint_attrs<F>(
    &mut self,
    id: HirId,
    attrs: &[Attribute],
    f: F
) where
    F: FnOnce(&mut Self), 
[src]

Trait Implementations

impl<'tcx, '_> Visitor<'tcx> for LintLevelMapBuilder<'_, 'tcx>[src]

type Map = Map<'tcx>

Auto Trait Implementations

impl<'a, 'tcx> !RefUnwindSafe for LintLevelMapBuilder<'a, 'tcx>

impl<'a, 'tcx> !Send for LintLevelMapBuilder<'a, 'tcx>

impl<'a, 'tcx> !Sync for LintLevelMapBuilder<'a, 'tcx>

impl<'a, 'tcx> Unpin for LintLevelMapBuilder<'a, 'tcx>

impl<'a, 'tcx> !UnwindSafe for LintLevelMapBuilder<'a, '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.