We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f8131a4 commit 1e16927Copy full SHA for 1e16927
compiler/rustc_errors/src/lib.rs
@@ -1271,7 +1271,6 @@ impl DiagCtxtInner {
1271
fn emit_stashed_diagnostics(&mut self) {
1272
let has_errors = !self.err_guars.is_empty();
1273
for (_, diag) in std::mem::take(&mut self.stashed_diagnostics).into_iter() {
1274
- // Decrement the count tracking the stash; emitting will increment it.
1275
if diag.is_error() {
1276
if diag.is_lint.is_none() {
1277
self.stashed_err_count -= 1;
0 commit comments