We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
lint_err_count
DiagCtxt::reset_err_count
1 parent 08e46fa commit cd72bbcCopy full SHA for cd72bbc
compiler/rustc_errors/src/lib.rs
@@ -650,6 +650,7 @@ impl DiagCtxt {
650
/// the overall count of emitted error diagnostics.
651
pub fn reset_err_count(&self) {
652
let mut inner = self.inner.borrow_mut();
653
+ inner.lint_err_count = 0;
654
inner.err_count = 0;
655
inner.warn_count = 0;
656
inner.deduplicated_err_count = 0;
0 commit comments