pub struct BadStringEscapeLint;
Trait Implementations§
Source§impl Lint for BadStringEscapeLint
impl Lint for BadStringEscapeLint
const SEVERITY: Severity = Severity::Warning
const LINT_TYPE: LintType = LintType::Correctness
type Config = ()
type Error = Infallible
fn new(_: Self::Config) -> Result<Self, Self::Error>
fn pass(&self, ast: &Ast, context: &Context, _: &AstContext) -> Vec<Diagnostic>
Auto Trait Implementations§
impl Freeze for BadStringEscapeLint
impl RefUnwindSafe for BadStringEscapeLint
impl Send for BadStringEscapeLint
impl Sync for BadStringEscapeLint
impl Unpin for BadStringEscapeLint
impl UnwindSafe for BadStringEscapeLint
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