Enum reproto_core::Diagnostic [] [src]

pub enum Diagnostic {
    Error(SpanString),
    Info(SpanString),
    Symbol {
        kind: SymbolKind,
        span: Span,
        name: RpName,
    },
}

A single diagnostic emitted by the compiler.

Variants

A positional error.

A positional information string.

A symbol that was encountered, and its location.

Fields of Symbol

Trait Implementations

impl Debug for Diagnostic
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for Diagnostic
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Diagnostic

impl Sync for Diagnostic