pub struct RestrictedModulePathsLint { /* private fields */ }
Trait Implementations§
Source§impl Lint for RestrictedModulePathsLint
impl Lint for RestrictedModulePathsLint
const SEVERITY: Severity = Severity::Error
const LINT_TYPE: LintType = LintType::Correctness
type Config = RestrictedModulePathsConfig
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 RestrictedModulePathsLint
impl RefUnwindSafe for RestrictedModulePathsLint
impl Send for RestrictedModulePathsLint
impl Sync for RestrictedModulePathsLint
impl Unpin for RestrictedModulePathsLint
impl UnwindSafe for RestrictedModulePathsLint
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