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§
fn id(&self) -> &'static str
fn severity(&self) -> Severity
fn description(&self) -> &'static str
fn help(&self) -> &'static str
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".