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

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

Methods

impl EmitterWriter
[src]

fn stderr(color_config: ColorConfig, registry: Option<Registry>, code_map: Rc<CodeMap>) -> EmitterWriter

fn new(dst: Box<Write + Send>, registry: Option<Registry>, code_map: Rc<CodeMap>) -> EmitterWriter

Trait Implementations

impl CoreEmitter for EmitterWriter
[src]

fn emit_message(&mut self, rsp: &RenderSpan, msg: &str, code: Option<&str>, lvl: Level, is_header: bool, show_snippet: bool)