Struct rustc_typeck::lint::LintExperimental
[-]
[+]
[src]
pub struct Lint {
pub name: &'static str,
pub default_level: Level,
pub desc: &'static str,
}Specification of a single lint.
Fields
Methods
impl Lint
fn name_lower(&self) -> String
Get the lint's name, with ASCII letters converted to lowercase.