Struct rustc_errors::emitter::EmitterWriter [−][src]
pub struct EmitterWriter { /* fields omitted */ }Methods
impl EmitterWriter[src]
impl EmitterWriterpub fn stderr(
color_config: ColorConfig,
code_map: Option<Lrc<SourceMapperDyn>>,
short_message: bool,
teach: bool
) -> EmitterWriter[src]
pub fn stderr(
color_config: ColorConfig,
code_map: Option<Lrc<SourceMapperDyn>>,
short_message: bool,
teach: bool
) -> EmitterWriterpub fn new(
dst: Box<Write + Send>,
code_map: Option<Lrc<SourceMapperDyn>>,
short_message: bool,
teach: bool
) -> EmitterWriter[src]
pub fn new(
dst: Box<Write + Send>,
code_map: Option<Lrc<SourceMapperDyn>>,
short_message: bool,
teach: bool
) -> EmitterWriterpub fn ui_testing(self, ui_testing: bool) -> Self[src]
pub fn ui_testing(self, ui_testing: bool) -> SelfTrait Implementations
impl Emitter for EmitterWriter[src]
impl Emitter for EmitterWriterfn emit(&mut self, db: &DiagnosticBuilder)[src]
fn emit(&mut self, db: &DiagnosticBuilder)Emit a structured diagnostic.
fn should_show_explain(&self) -> bool[src]
fn should_show_explain(&self) -> boolCheck if should show explanations about "rustc --explain"
Auto Trait Implementations
impl !Send for EmitterWriter
impl !Send for EmitterWriterimpl !Sync for EmitterWriter
impl !Sync for EmitterWriter