pub struct RunReport {
pub errors: usize,
pub warnings: usize,
pub any_success: bool,
pub any_failure: bool,
}Expand description
Summary of what run observed in the clippy stream.
Returned so the caller can choose an exit code that mirrors clippy’s (non-zero when the build failed or at least one error-level diagnostic was reported).
Fields§
§errors: usizeNumber of unique error-level diagnostics.
warnings: usizeNumber of unique warning-level diagnostics.
any_success: boolAt least one build-finished message reported success: true.
any_failure: boolAt least one build-finished message reported success: false.
Implementations§
Trait Implementations§
impl Copy for RunReport
Auto Trait Implementations§
impl Freeze for RunReport
impl RefUnwindSafe for RunReport
impl Send for RunReport
impl Sync for RunReport
impl Unpin for RunReport
impl UnsafeUnpin for RunReport
impl UnwindSafe for RunReport
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