Struct rustc_middle::lint::LintLevelSets [−][src]
Fields
list: Vec<LintSet>lint_cap: LevelImplementations
impl LintLevelSets[src]
impl LintLevelSets[src]pub fn new() -> Self[src]
pub fn get_lint_level(
&self,
lint: &'static Lint,
idx: u32,
aux: Option<&FxHashMap<LintId, LevelAndSource>>,
sess: &Session
) -> LevelAndSource[src]
&self,
lint: &'static Lint,
idx: u32,
aux: Option<&FxHashMap<LintId, LevelAndSource>>,
sess: &Session
) -> LevelAndSource
pub fn get_lint_id_level(
&self,
id: LintId,
idx: u32,
aux: Option<&FxHashMap<LintId, LevelAndSource>>
) -> (Option<Level>, LintLevelSource)[src]
&self,
id: LintId,
idx: u32,
aux: Option<&FxHashMap<LintId, LevelAndSource>>
) -> (Option<Level>, LintLevelSource)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for LintLevelSets
impl !Send for LintLevelSets
impl !Sync for LintLevelSets
impl Unpin for LintLevelSets
impl UnwindSafe for LintLevelSets
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> MaybeResult<T> for T[src]
impl<T> MaybeResult<T> for T[src]impl<T> WithConstness for T[src]
impl<T> WithConstness for T[src]fn with_constness(self, constness: Constness) -> ConstnessAnd<Self>[src]
fn with_const(self) -> ConstnessAnd<Self>[src]
fn without_const(self) -> ConstnessAnd<Self>[src]
impl<'a, T> Captures<'a> for T where
T: ?Sized, [src]
T: ?Sized,