diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-02-16 10:35:53 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-02-22 08:03:39 +1100 |
| commit | 1e16927ef37eb841d6a38b5e61438931d20c43fb (patch) | |
| tree | ae4a6dfc1cf37ac94502eaf8d7353894e6eeff52 /compiler/rustc_errors/src | |
| parent | f8131a48a46ac3bc8a3d0fe0477055b132cffdc3 (diff) | |
| download | rust-1e16927ef37eb841d6a38b5e61438931d20c43fb.tar.gz rust-1e16927ef37eb841d6a38b5e61438931d20c43fb.zip | |
Remove an out-of-date comment.
Diffstat (limited to 'compiler/rustc_errors/src')
| -rw-r--r-- | compiler/rustc_errors/src/lib.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_errors/src/lib.rs b/compiler/rustc_errors/src/lib.rs index 052d9b3a783..64b88adedbb 100644 --- a/compiler/rustc_errors/src/lib.rs +++ b/compiler/rustc_errors/src/lib.rs @@ -1271,7 +1271,6 @@ impl DiagCtxtInner { fn emit_stashed_diagnostics(&mut self) { let has_errors = !self.err_guars.is_empty(); for (_, diag) in std::mem::take(&mut self.stashed_diagnostics).into_iter() { - // Decrement the count tracking the stash; emitting will increment it. if diag.is_error() { if diag.is_lint.is_none() { self.stashed_err_count -= 1; |
