pub struct UndefinedVariableLint;Trait Implementations§
Source§impl Lint for UndefinedVariableLint
impl Lint for UndefinedVariableLint
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, context: &Context, ast_context: &AstContext, ) -> Vec<Diagnostic>
Auto Trait Implementations§
impl Freeze for UndefinedVariableLint
impl RefUnwindSafe for UndefinedVariableLint
impl Send for UndefinedVariableLint
impl Sync for UndefinedVariableLint
impl Unpin for UndefinedVariableLint
impl UnsafeUnpin for UndefinedVariableLint
impl UnwindSafe for UndefinedVariableLint
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