Struct rustc::driver::diagnostic::Handler[src]

pub struct Handler {
    // some fields omitted
}

Methods

impl Handler

fn fatal(&self, msg: &str) -> !

fn err(&self, msg: &str)

fn bump_err_count(&self)

fn err_count(&self) -> uint

fn has_errors(&self) -> bool

fn 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)