Skip to content

Commit 0886b69

Browse files
committed
rustc: Bump the error count on non-span errors
1 parent 9ecd5ee commit 0886b69

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/comp/driver/diagnostic.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ impl codemap_handler of handler for handler_t {
7979
}
8080
fn err(msg: str) {
8181
self._emit(none, msg, error);
82+
self.bump_err_count();
8283
}
8384
fn bump_err_count() {
8485
self.err_count += 1u;

0 commit comments

Comments
 (0)