pub struct LintReport {
pub diagnostics: Vec<LintDiagnostic>,
}Expand description
The outcome of a format-lint pass: findings in source order.
Fields§
§diagnostics: Vec<LintDiagnostic>All diagnostics, tree file first then claims, each in source order.
Implementations§
Source§impl LintReport
impl LintReport
Sourcepub fn diagnostics(&self) -> &[LintDiagnostic]
pub fn diagnostics(&self) -> &[LintDiagnostic]
All diagnostics.
Trait Implementations§
Source§impl Clone for LintReport
impl Clone for LintReport
Source§fn clone(&self) -> LintReport
fn clone(&self) -> LintReport
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 LintReport
impl Debug for LintReport
Source§impl Default for LintReport
impl Default for LintReport
Source§fn default() -> LintReport
fn default() -> LintReport
Returns the “default value” for a type. Read more
Source§impl PartialEq for LintReport
impl PartialEq for LintReport
Source§impl Serialize for LintReport
impl Serialize for LintReport
impl StructuralPartialEq for LintReport
Auto Trait Implementations§
impl Freeze for LintReport
impl RefUnwindSafe for LintReport
impl Send for LintReport
impl Sync for LintReport
impl Unpin for LintReport
impl UnsafeUnpin for LintReport
impl UnwindSafe for LintReport
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