pub struct Lints {
pub workspace: Option<Spanned<bool>>,
pub rust: Option<HashMap<String, LintLevel>>,
pub clippy: Option<HashMap<String, LintLevel>>,
pub rustdoc: Option<HashMap<String, LintLevel>>,
}Expand description
The [lints] section for configuring compiler lints.
Fields§
§workspace: Option<Spanned<bool>>Inherit lint configuration from workspace.
rust: Option<HashMap<String, LintLevel>>Rust compiler lint levels.
clippy: Option<HashMap<String, LintLevel>>Clippy lint levels.
rustdoc: Option<HashMap<String, LintLevel>>Rustdoc lint levels.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Lints
impl RefUnwindSafe for Lints
impl Send for Lints
impl Sync for Lints
impl Unpin for Lints
impl UnsafeUnpin for Lints
impl UnwindSafe for Lints
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