pub struct StandardLibraryLint;
Trait Implementations§
Source§impl Lint for StandardLibraryLint
impl Lint for StandardLibraryLint
const SEVERITY: Severity = Severity::Error
const LINT_TYPE: LintType = LintType::Correctness
type Config = ()
type Error = Infallible
fn new(_: Self::Config) -> Result<Self, Self::Error>
fn pass( &self, ast: &Ast, context: &Context, ast_context: &AstContext, ) -> Vec<Diagnostic>
Auto Trait Implementations§
impl Freeze for StandardLibraryLint
impl RefUnwindSafe for StandardLibraryLint
impl Send for StandardLibraryLint
impl Sync for StandardLibraryLint
impl Unpin for StandardLibraryLint
impl UnwindSafe for StandardLibraryLint
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more