Struct rustc::driver::diagnostic::Handler[src]
pub struct Handler {
// some fields omitted
}pub struct Handler {
// some fields omitted
}impl Handlerfn fatal(&self, msg: &str) -> !fn err(&self, msg: &str)fn bump_err_count(&self)fn err_count(&self) -> uintfn has_errors(&self) -> boolfn abort_if_errors(&self)fn warn(&self, msg: &str)fn note(&self, msg: &str)fn bug(&self, msg: &str) -> !fn unimpl(&self, msg: &str) -> !fn emit(&self, cmsp: Option<(&CodeMap, Span)>, msg: &str, lvl: Level)fn custom_emit(&self, cm: &CodeMap, sp: RenderSpan, msg: &str, lvl: Level)
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct (or str), enum,
trait, typedef (or
tdef).