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