Reset lint_err_count
in DiagCtxt::reset_err_count
.
It's missing but should obviously be included.
This commit is contained in:
parent
0e388f2192
commit
12ba450d14
1 changed files with 1 additions and 0 deletions
|
@ -647,6 +647,7 @@ impl DiagCtxt {
|
||||||
/// the overall count of emitted error diagnostics.
|
/// the overall count of emitted error diagnostics.
|
||||||
pub fn reset_err_count(&self) {
|
pub fn reset_err_count(&self) {
|
||||||
let mut inner = self.inner.borrow_mut();
|
let mut inner = self.inner.borrow_mut();
|
||||||
|
inner.lint_err_count = 0;
|
||||||
inner.err_count = 0;
|
inner.err_count = 0;
|
||||||
inner.warn_count = 0;
|
inner.warn_count = 0;
|
||||||
inner.deduplicated_err_count = 0;
|
inner.deduplicated_err_count = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue