Add session.note method
This commit is contained in:
parent
4ffa5ddf76
commit
e60cb9197f
@ -109,6 +109,9 @@ obj session(ast::crate_num cnum,
|
||||
|
||||
emit_diagnostic(some(sp), msg, "note", 10u8, cm);
|
||||
}
|
||||
fn note(str msg) {
|
||||
emit_diagnostic(none, msg, "note", 10u8, cm);
|
||||
}
|
||||
fn span_bug(span sp, str msg) -> ! {
|
||||
self.span_fatal(sp, #fmt("internal compiler error %s", msg));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user