Skip to content

Commit 1e16927

Browse files
committed
Remove an out-of-date comment.
1 parent f8131a4 commit 1e16927

File tree

1 file changed

+0
-1
lines changed
  • compiler/rustc_errors/src

1 file changed

+0
-1
lines changed

compiler/rustc_errors/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1271,7 +1271,6 @@ impl DiagCtxtInner {
12711271
fn emit_stashed_diagnostics(&mut self) {
12721272
let has_errors = !self.err_guars.is_empty();
12731273
for (_, diag) in std::mem::take(&mut self.stashed_diagnostics).into_iter() {
1274-
// Decrement the count tracking the stash; emitting will increment it.
12751274
if diag.is_error() {
12761275
if diag.is_lint.is_none() {
12771276
self.stashed_err_count -= 1;

0 commit comments

Comments
 (0)