pub trait Linter: Send + Sync {
type Language: Language;
type Lint: Lint;
// Required method
fn lint(
&self,
input: &[PathBuf],
deny: DenyLevel,
compiler: &mut Compiler,
) -> Result<()>;
}Expand description
Trait representing a linter for a language supported by Foundry.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".