pub struct UnusedVariableLint { /* private fields */ }Trait Implementations§
Source§impl Lint for UnusedVariableLint
impl Lint for UnusedVariableLint
const SEVERITY: Severity = Severity::Warning
const LINT_TYPE: LintType = LintType::Style
type Config = UnusedVariableConfig
type Error = Error
fn new(config: Self::Config) -> Result<Self, Self::Error>
fn pass( &self, _: &Ast, context: &Context, ast_context: &AstContext, ) -> Vec<Diagnostic>
Auto Trait Implementations§
impl Freeze for UnusedVariableLint
impl RefUnwindSafe for UnusedVariableLint
impl Send for UnusedVariableLint
impl Sync for UnusedVariableLint
impl Unpin for UnusedVariableLint
impl UnsafeUnpin for UnusedVariableLint
impl UnwindSafe for UnusedVariableLint
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