Struct rustc::lint::LintLevelMap [] [src]

pub struct LintLevelMap { /* fields omitted */ }
🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

Methods

impl LintLevelMap
[src]

[src]

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

If the id was previously registered with register_id when building this LintLevelMap this returns the corresponding lint level and source of the lint level for the lint provided.

If the id was not previously registered, returns None. If None is returned then the parent of id should be acquired and this function should be called again.

[src]

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

Returns if this id has lint level information.

Trait Implementations

impl<'gcx> HashStable<StableHashingContext<'gcx>> for LintLevelMap
[src]

[src]

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?