File tree 1 file changed +6
-6
lines changed
compiler/rustc_errors/src
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -421,16 +421,16 @@ pub struct DiagCtxt {
421
421
struct DiagCtxtInner {
422
422
flags : DiagCtxtFlags ,
423
423
424
- /// The number of lint errors that have been emitted.
424
+ /// The number of lint errors that have been emitted, including duplicates .
425
425
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.
430
427
err_count : usize ,
428
+
429
+ /// The error count shown to the user at the end.
431
430
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.
433
432
deduplicated_warn_count : usize ,
433
+
434
434
/// Has this diagnostic context printed any diagnostics? (I.e. has
435
435
/// `self.emitter.emit_diagnostic()` been called?
436
436
has_printed : bool ,
You can’t perform that action at this time.
0 commit comments