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