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]
impl EmitterWriter
pub fn stderr(
color_config: ColorConfig,
code_map: Option<Lrc<CodeMapperDyn>>,
short_message: bool,
teach: bool
) -> EmitterWriter
[src]
pub fn stderr(
color_config: ColorConfig,
code_map: Option<Lrc<CodeMapperDyn>>,
short_message: bool,
teach: 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<Lrc<CodeMapperDyn>>,
short_message: bool,
teach: bool
) -> EmitterWriter
[src]
pub fn new(
dst: Box<Write + Send>,
code_map: Option<Lrc<CodeMapperDyn>>,
short_message: bool,
teach: 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 ui_testing(self, ui_testing: bool) -> Self
[src]
pub fn ui_testing(self, ui_testing: bool) -> Self
🔬 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]
impl Emitter for EmitterWriter
fn emit(&mut self, db: &DiagnosticBuilder)
[src]
fn emit(&mut self, db: &DiagnosticBuilder)
🔬 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.
fn should_show_explain(&self) -> bool
[src]
fn should_show_explain(&self) -> bool
🔬 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?
Check if should show explanations about "rustc --explain"
Auto Trait Implementations
impl !Send for EmitterWriter
impl !Send for EmitterWriter
impl !Sync for EmitterWriter
impl !Sync for EmitterWriter