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 0e388f2 commit 12ba450Copy full SHA for 12ba450
compiler/rustc_errors/src/lib.rs
@@ -647,6 +647,7 @@ impl DiagCtxt {
647
/// the overall count of emitted error diagnostics.
648
pub fn reset_err_count(&self) {
649
let mut inner = self.inner.borrow_mut();
650
+ inner.lint_err_count = 0;
651
inner.err_count = 0;
652
inner.warn_count = 0;
653
inner.deduplicated_err_count = 0;
0 commit comments