pub struct MultipleStatementsLint { /* private fields */ }Trait Implementations§
Source§impl Lint for MultipleStatementsLint
impl Lint for MultipleStatementsLint
const SEVERITY: Severity = Severity::Warning
const LINT_TYPE: LintType = LintType::Style
type Config = MultipleStatementsConfig
type Error = Infallible
fn new(config: Self::Config) -> Result<Self, Self::Error>
fn pass(&self, ast: &Ast, _: &Context, _: &AstContext) -> Vec<Diagnostic>
Auto Trait Implementations§
impl Freeze for MultipleStatementsLint
impl RefUnwindSafe for MultipleStatementsLint
impl Send for MultipleStatementsLint
impl Sync for MultipleStatementsLint
impl Unpin for MultipleStatementsLint
impl UnsafeUnpin for MultipleStatementsLint
impl UnwindSafe for MultipleStatementsLint
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