Struct rustc_lint::lint::LintId
[−]
[src]
pub struct LintId {
// some fields omitted
}Unstable
Identifies a lint known to the compiler.
Methods
impl LintId
fn of(lint: &'static Lint) -> LintId
Unstable
Get the LintId for a Lint.
fn as_str(&self) -> String
Unstable
Get the name of the lint.