-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
regression: Compiler error with dyn + for<'a> #132000
Copy link
Copy link
Closed
Labels
A-dyn-traitArea: trait objects, vtable layoutArea: trait objects, vtable layoutC-bugCategory: This is a bug.Category: This is a bug.T-typesRelevant to the types team, which will review and decide on the PR/issue.Relevant to the types team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.Performance or correctness regression from stable to beta.
Milestone
Metadata
Metadata
Assignees
Labels
A-dyn-traitArea: trait objects, vtable layoutArea: trait objects, vtable layoutC-bugCategory: This is a bug.Category: This is a bug.T-typesRelevant to the types team, which will review and decide on the PR/issue.Relevant to the types team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.Performance or correctness regression from stable to beta.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Code
On
stable,cargo buildcompiles without errors.On
beta(andnightly 2024-10-20), it fails with the following error:playground
EDIT: Cleaned the example a bit
Version it worked on
rustc --version --verbose:Version with regression
rustc +beta --version --verbose:@rustbot modify labels: +regression-from-stable-to-beta -regression-untriaged