pub struct ShadowingLint { /* private fields */ }
Trait Implementations§
Source§impl Lint for ShadowingLint
impl Lint for ShadowingLint
const SEVERITY: Severity = Severity::Warning
const LINT_TYPE: LintType = LintType::Style
type Config = ShadowingConfig
type Error = Error
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