Trait Lint

Source
pub trait Lint {
    // Required methods
    fn id(&self) -> &'static str;
    fn severity(&self) -> Severity;
    fn description(&self) -> &'static str;
    fn help(&self) -> &'static str;
}

Required Methods§

Source

fn id(&self) -> &'static str

Source

fn severity(&self) -> Severity

Source

fn description(&self) -> &'static str

Source

fn help(&self) -> &'static str

Implementors§