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