-
-
Notifications
You must be signed in to change notification settings - Fork 15k
dcx.try_steal_modify_and_emit_err race #157659
Copy link
Copy link
Closed
Labels
A-parallel-compilerArea: parallel compilerArea: parallel compilerA-reproducibilityArea: Reproducible / deterministic buildsArea: Reproducible / deterministic buildsC-bugCategory: This is a bug.Category: This is a bug.D-diagnostic-infraDiagnostics: Issues that affect all diagnostics, or relate to the diagnostic machinery itself.Diagnostics: Issues that affect all diagnostics, or relate to the diagnostic machinery itself.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
A-parallel-compilerArea: parallel compilerArea: parallel compilerA-reproducibilityArea: Reproducible / deterministic buildsArea: Reproducible / deterministic buildsC-bugCategory: This is a bug.Category: This is a bug.D-diagnostic-infraDiagnostics: Issues that affect all diagnostics, or relate to the diagnostic machinery itself.Diagnostics: Issues that affect all diagnostics, or relate to the diagnostic machinery itself.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Part of #154314
There is a possible race for this
dcx.try_steal_modify_and_emit_errcall:rust/compiler/rustc_hir_analysis/src/collect/type_of.rs
Lines 437 to 464 in a962594
Such that inferred type for a diagnostic suggestion can vary between different compilations on the parallel front-end.