Struct rustc_errors::emitter::EmitterWriter
[−]
[src]
pub struct EmitterWriter { /* fields omitted */ }
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Methods
impl EmitterWriter
[src]
pub fn stderr(
color_config: ColorConfig,
code_map: Option<Rc<CodeMapper>>,
short_message: bool
) -> EmitterWriter
[src]
color_config: ColorConfig,
code_map: Option<Rc<CodeMapper>>,
short_message: bool
) -> EmitterWriter
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
pub fn new(
dst: Box<Write + Send>,
code_map: Option<Rc<CodeMapper>>,
short_message: bool
) -> EmitterWriter
[src]
dst: Box<Write + Send>,
code_map: Option<Rc<CodeMapper>>,
short_message: bool
) -> EmitterWriter
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Trait Implementations
impl Emitter for EmitterWriter
[src]
fn emit(&mut self, db: &DiagnosticBuilder)
[src]
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Emit a structured diagnostic.