Struct rustc::driver::diagnostic::SpanHandler[src]
pub struct SpanHandler {
pub handler: Handler,
pub cm: CodeMap,
}Fields
handler | |
cm |
pub struct SpanHandler {
pub handler: Handler,
pub cm: CodeMap,
}handler | |
cm |
impl SpanHandlerfn span_fatal(&self, sp: Span, msg: &str) -> !fn span_err(&self, sp: Span, msg: &str)fn span_warn(&self, sp: Span, msg: &str)fn span_note(&self, sp: Span, msg: &str)fn span_end_note(&self, sp: Span, msg: &str)fn fileline_note(&self, sp: Span, msg: &str)fn span_bug(&self, sp: Span, msg: &str) -> !fn span_unimpl(&self, sp: Span, msg: &str) -> !fn handler(&'a self) -> &'a Handler
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).