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