pub trait Emitter: Send {
    fn emit(&mut self, db: &DiagnosticBuilder<'_>);

    fn should_show_explain(&self) -> bool { ... }
}
Expand description

Emitter trait for emitting errors.

Required Methods

Emit a structured diagnostic.

Provided Methods

Check if should show explanations about “rustc –explain”

Implementors