File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
compiler/rustc_errors/src Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -421,16 +421,16 @@ pub struct DiagCtxt {
421421struct DiagCtxtInner {
422422 flags : DiagCtxtFlags ,
423423
424- /// The number of lint errors that have been emitted.
424+ /// The number of lint errors that have been emitted, including duplicates .
425425 lint_err_count : usize ,
426- /// The number of errors that have been emitted, including duplicates.
427- ///
428- /// This is not necessarily the count that's reported to the user once
429- /// compilation ends.
426+ /// The number of non-lint errors that have been emitted, including duplicates.
430427 err_count : usize ,
428+
429+ /// The error count shown to the user at the end.
431430 deduplicated_err_count : usize ,
432- /// The warning count, used for a recap upon finishing
431+ /// The warning count shown to the user at the end.
433432 deduplicated_warn_count : usize ,
433+
434434 /// Has this diagnostic context printed any diagnostics? (I.e. has
435435 /// `self.emitter.emit_diagnostic()` been called?
436436 has_printed : bool ,
You can’t perform that action at this time.
0 commit comments