Remove an out-of-date comment.
This commit is contained in:
parent
f8131a48a4
commit
1e16927ef3
@ -1271,7 +1271,6 @@ impl DiagCtxtInner {
|
|||||||
fn emit_stashed_diagnostics(&mut self) {
|
fn emit_stashed_diagnostics(&mut self) {
|
||||||
let has_errors = !self.err_guars.is_empty();
|
let has_errors = !self.err_guars.is_empty();
|
||||||
for (_, diag) in std::mem::take(&mut self.stashed_diagnostics).into_iter() {
|
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_error() {
|
||||||
if diag.is_lint.is_none() {
|
if diag.is_lint.is_none() {
|
||||||
self.stashed_err_count -= 1;
|
self.stashed_err_count -= 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user