pub enum LintGroup {
Pedantic,
Testing,
}
Expand description
A group lints can belong to.
A LintGroup
is used to en-/disable groups of lints.
Each lint may belong to zero or more groups.
Variants§
Pedantic
This group contains all lints that are considered fairly pedantic and/or prone to trigger false-positives.
When using this group, expect to manually disable some lint rules for your context.
Testing
Experimental lints that might not be 100% fine-tuned.
When using this group, the newest and shiniest lints are used.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LintGroup
impl<'de> Deserialize<'de> for LintGroup
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for LintGroup
Auto Trait Implementations§
impl Freeze for LintGroup
impl RefUnwindSafe for LintGroup
impl Send for LintGroup
impl Sync for LintGroup
impl Unpin for LintGroup
impl UnwindSafe for LintGroup
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