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”
Auto Trait Implementations
impl !RefUnwindSafe for EmitterWriter
impl !Send for EmitterWriter
impl !Sync for EmitterWriter
impl Unpin for EmitterWriter
impl !UnwindSafe for EmitterWriter
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more