Struct syntax::errors::emitter::BasicEmitter [] [src]

pub struct BasicEmitter {
    // some fields omitted
}
Unstable (rustc_private)

A basic emitter for when we don't have access to a codemap or registry. Used for reporting very early errors, etc.

Methods

impl BasicEmitter
[src]

fn stderr(color_config: ColorConfig) -> BasicEmitter

Trait Implementations

impl CoreEmitter for BasicEmitter
[src]

fn emit_message(&mut self, _rsp: &RenderSpan, msg: &str, code: Option<&str>, lvl: Level, _is_header: bool, _show_snippet: bool)