Struct selene_lib::lints::unscoped_variables::UnscopedVariablesLint
source · pub struct UnscopedVariablesLint { /* private fields */ }
Trait Implementations§
source§impl Lint for UnscopedVariablesLint
impl Lint for UnscopedVariablesLint
type Config = UnscopedVariablesConfig
type Error = Error
const SEVERITY: Severity = Severity::Warning
const LINT_TYPE: LintType = LintType::Complexity
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 UnscopedVariablesLint
impl RefUnwindSafe for UnscopedVariablesLint
impl Send for UnscopedVariablesLint
impl Sync for UnscopedVariablesLint
impl Unpin for UnscopedVariablesLint
impl UnwindSafe for UnscopedVariablesLint
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