Struct rustc_middle::lint::LintLevelSets [−][src]
pub struct LintLevelSets {
pub list: IndexVec<LintStackIndex, LintSet>,
pub lint_cap: Level,
}Fields
list: IndexVec<LintStackIndex, LintSet>lint_cap: LevelImplementations
pub fn get_lint_level(
&self,
lint: &'static Lint,
idx: LintStackIndex,
aux: Option<&FxHashMap<LintId, LevelAndSource>>,
sess: &Session
) -> LevelAndSource
pub fn get_lint_id_level(
&self,
id: LintId,
idx: LintStackIndex,
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
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. 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: 32 bytes