Struct reproto_core::Diagnostics [] [src]

pub struct Diagnostics {
    pub source: Source,
    pub items: Vec<Diagnostic>,
}

A collection of diagnostics emitted by the compiler.

Fields

Methods

impl Diagnostics
[src]

[src]

Create a new diagnostics collection.

[src]

Check if reporter is empty.

[src]

Report an error.

[src]

Report information.

[src]

Register a symbol.

[src]

Iterate over all reporter items.

[src]

Clear all existing diagnostics.

Trait Implementations

impl Debug for Diagnostics
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for Diagnostics
[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 Diagnostics

impl Sync for Diagnostics