pub struct AggregatedDiagnostic {
pub file: String,
pub line: u32,
pub column: u32,
pub message: String,
pub kind: String,
}Expand description
Per-file diagnostic emitted by the aggregator. Wire-stable JSON
shape for --json mode (rustc-compatible field naming per
Fase 28.g D5).
Fields§
§file: String§line: u32§column: u32§message: String§kind: StringTrait Implementations§
Source§impl Clone for AggregatedDiagnostic
impl Clone for AggregatedDiagnostic
Source§fn clone(&self) -> AggregatedDiagnostic
fn clone(&self) -> AggregatedDiagnostic
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 AggregatedDiagnostic
impl Debug for AggregatedDiagnostic
Auto Trait Implementations§
impl Freeze for AggregatedDiagnostic
impl RefUnwindSafe for AggregatedDiagnostic
impl Send for AggregatedDiagnostic
impl Sync for AggregatedDiagnostic
impl Unpin for AggregatedDiagnostic
impl UnsafeUnpin for AggregatedDiagnostic
impl UnwindSafe for AggregatedDiagnostic
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.