Struct syntex_errors::diagnostic::SubDiagnostic [] [src]

pub struct SubDiagnostic {
    pub level: Level,
    pub message: Vec<(String, Style)>,
    pub span: MultiSpan,
    pub render_span: Option<RenderSpan>,
}

For example a note attached to an error.

Fields

Methods

impl SubDiagnostic
[src]

Trait Implementations

impl Clone for SubDiagnostic
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for SubDiagnostic
[src]

Formats the value using the given formatter.

impl PartialEq for SubDiagnostic
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.