pub enum DiagnosticCategory {
Parser,
StrictWarnings,
PackageModule,
Subroutine,
BestPractices,
Deprecated,
Security,
Import,
Heredoc,
PerlCritic,
}Expand description
Category of diagnostic codes.
Variants§
Parser
Parser-related diagnostics (PL001-PL099)
StrictWarnings
Strict/warnings pragmas and scope analysis (PL100-PL199)
PackageModule
Package/module issues (PL200-PL299)
Subroutine
Subroutine issues (PL300-PL399)
BestPractices
Best practices and common mistakes (PL400-PL499)
Deprecated
Deprecated syntax (PL500-PL599)
Security
Security anti-patterns (PL600-PL699)
Import
Import/use diagnostics (PL700-PL799)
Heredoc
Heredoc anti-patterns (PL800-PL899)
PerlCritic
Perl::Critic violations (PC001-PC005)
Trait Implementations§
Source§impl Clone for DiagnosticCategory
impl Clone for DiagnosticCategory
Source§fn clone(&self) -> DiagnosticCategory
fn clone(&self) -> DiagnosticCategory
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DiagnosticCategory
impl Debug for DiagnosticCategory
Source§impl Hash for DiagnosticCategory
impl Hash for DiagnosticCategory
Source§impl PartialEq for DiagnosticCategory
impl PartialEq for DiagnosticCategory
impl Copy for DiagnosticCategory
impl Eq for DiagnosticCategory
impl StructuralPartialEq for DiagnosticCategory
Auto Trait Implementations§
impl Freeze for DiagnosticCategory
impl RefUnwindSafe for DiagnosticCategory
impl Send for DiagnosticCategory
impl Sync for DiagnosticCategory
impl Unpin for DiagnosticCategory
impl UnsafeUnpin for DiagnosticCategory
impl UnwindSafe for DiagnosticCategory
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