[][src]Struct libslide::diagnostics::AssociatedDiagnostic

pub struct AssociatedDiagnostic {
    pub kind: DiagnosticKind,
    pub span: Span,
    pub msg: String,
}

A secondary diagnostic associated with a primary Diagnostic.

Fields

kind: DiagnosticKind

The diagnostic kind.

span: Span

Source location for which the diagnostic is applicable.

msg: String

Diagnostic message.

Auto Trait Implementations

impl RefUnwindSafe for AssociatedDiagnostic

impl Send for AssociatedDiagnostic

impl Sync for AssociatedDiagnostic

impl Unpin for AssociatedDiagnostic

impl UnwindSafe for AssociatedDiagnostic

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.