Struct swc_common::errors::emitter::EmitterWriter [−][src]
pub struct EmitterWriter { /* fields omitted */ }
Expand description
Implementation of Emitter which pretty-prints the errors.
Implementations
pub fn new(
dst: Box<dyn Write + Send>,
source_map: Option<Lrc<SourceMapperDyn>>,
short_message: bool,
teach: bool
) -> EmitterWriter
Trait Implementations
Emit a structured diagnostic.
Check if should show explanations about “rustc –explain”