Skip to main content

ProjectLintPass

Trait ProjectLintPass 

pub trait ProjectLintPass<'ast>: Send + Sync {
    // Required method
    fn check_project(
        &mut self,
        ctx: &ProjectLintContext<'_, '_>,
        sources: &[ProjectSource<'ast>],
    );
}
Expand description

A lint pass that inspects all project-owned sources together.

Required Methods§

fn check_project( &mut self, ctx: &ProjectLintContext<'_, '_>, sources: &[ProjectSource<'ast>], )

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§