Move DiagCtxtInner::deduplicated_warn_count
.
To put it next to a similar field.
This commit is contained in:
parent
12ba450d14
commit
8866780d02
1 changed files with 4 additions and 3 deletions
|
@ -420,6 +420,7 @@ pub struct DiagCtxt {
|
||||||
/// as well as inconsistent state observation.
|
/// as well as inconsistent state observation.
|
||||||
struct DiagCtxtInner {
|
struct DiagCtxtInner {
|
||||||
flags: DiagCtxtFlags,
|
flags: DiagCtxtFlags,
|
||||||
|
|
||||||
/// The number of lint errors that have been emitted.
|
/// The number of lint errors that have been emitted.
|
||||||
lint_err_count: usize,
|
lint_err_count: usize,
|
||||||
/// The number of errors that have been emitted, including duplicates.
|
/// The number of errors that have been emitted, including duplicates.
|
||||||
|
@ -429,6 +430,9 @@ struct DiagCtxtInner {
|
||||||
err_count: usize,
|
err_count: usize,
|
||||||
warn_count: usize,
|
warn_count: usize,
|
||||||
deduplicated_err_count: usize,
|
deduplicated_err_count: usize,
|
||||||
|
/// The warning count, used for a recap upon finishing
|
||||||
|
deduplicated_warn_count: usize,
|
||||||
|
|
||||||
emitter: Box<DynEmitter>,
|
emitter: Box<DynEmitter>,
|
||||||
span_delayed_bugs: Vec<DelayedDiagnostic>,
|
span_delayed_bugs: Vec<DelayedDiagnostic>,
|
||||||
good_path_delayed_bugs: Vec<DelayedDiagnostic>,
|
good_path_delayed_bugs: Vec<DelayedDiagnostic>,
|
||||||
|
@ -455,9 +459,6 @@ struct DiagCtxtInner {
|
||||||
/// When `.abort_if_errors()` is called, these are also emitted.
|
/// When `.abort_if_errors()` is called, these are also emitted.
|
||||||
stashed_diagnostics: FxIndexMap<(Span, StashKey), Diagnostic>,
|
stashed_diagnostics: FxIndexMap<(Span, StashKey), Diagnostic>,
|
||||||
|
|
||||||
/// The warning count, used for a recap upon finishing
|
|
||||||
deduplicated_warn_count: usize,
|
|
||||||
|
|
||||||
future_breakage_diagnostics: Vec<Diagnostic>,
|
future_breakage_diagnostics: Vec<Diagnostic>,
|
||||||
|
|
||||||
/// The [`Self::unstable_expect_diagnostics`] should be empty when this struct is
|
/// The [`Self::unstable_expect_diagnostics`] should be empty when this struct is
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue