Trait LintPass
pub trait LintPass {
// Required methods
fn name(&self) -> &'static str;
fn get_lints(&self) -> Vec<&'static Lint>;
}
pub trait LintPass {
// Required methods
fn name(&self) -> &'static str;
fn get_lints(&self) -> Vec<&'static Lint>;
}