rustc: Bump the error count on non-span errors
This commit is contained in:
parent
9ecd5ee81d
commit
0886b69b76
|
@ -79,6 +79,7 @@ impl codemap_handler of handler for handler_t {
|
|||
}
|
||||
fn err(msg: str) {
|
||||
self._emit(none, msg, error);
|
||||
self.bump_err_count();
|
||||
}
|
||||
fn bump_err_count() {
|
||||
self.err_count += 1u;
|
||||
|
|
Loading…
Reference in New Issue