Prevent Deduplication of LongRunningWarn

This commit is contained in:
Veera
2024-09-21 11:23:34 -04:00
parent a35da65409
commit 669f610f74
3 changed files with 83 additions and 2 deletions

View File

@@ -243,6 +243,8 @@ pub struct LongRunningWarn {
pub span: Span,
#[help]
pub item_span: Span,
// Used for evading `-Z deduplicate-diagnostics`.
pub force_duplicate: usize,
}
#[derive(Subdiagnostic)]