pub struct CheckConfig {
pub deny_warnings: bool,
}Expand description
The [check] table.
Unlike [run.<name>], this is one setting per package, not per run: the
Language Card treats denying warnings as something “projects” decide, so
it lives at the package’s own top-level table rather than being repeated
in every [run.<name>].
Fields§
§deny_warnings: boolMirrors cove check --deny-warnings. When either the config or the
flag asks for denial, cove check fails on any warning: a CI
invocation asking for stricter behavior always wins over a project
default that does not.
Trait Implementations§
Source§impl Clone for CheckConfig
impl Clone for CheckConfig
Source§fn clone(&self) -> CheckConfig
fn clone(&self) -> CheckConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CheckConfig
impl Debug for CheckConfig
Source§impl Default for CheckConfig
impl Default for CheckConfig
Source§fn default() -> CheckConfig
fn default() -> CheckConfig
Returns the “default value” for a type. Read more
Source§impl PartialEq for CheckConfig
impl PartialEq for CheckConfig
Source§fn eq(&self, other: &CheckConfig) -> bool
fn eq(&self, other: &CheckConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CheckConfig
Auto Trait Implementations§
impl Freeze for CheckConfig
impl RefUnwindSafe for CheckConfig
impl Send for CheckConfig
impl Sync for CheckConfig
impl Unpin for CheckConfig
impl UnsafeUnpin for CheckConfig
impl UnwindSafe for CheckConfig
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