-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Cycle E0391 error with polymorphize #85318
Copy link
Copy link
Closed
Labels
-ZpolymorphizeUnstable option: Polymorphization.Unstable option: Polymorphization.C-bugCategory: This is a bug.Category: This is a bug.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
-ZpolymorphizeUnstable option: Polymorphization.Unstable option: Polymorphization.C-bugCategory: This is a bug.Category: This is a bug.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.
rustc (
v.1.54.0-nightly 1025db84a 2021-05-14) compiles this code normally, even with optimizations:If I compile it with
rustc -Z polymorphize=y, it raises errors:I don't know much about that polymorphize option, so I am not sure if this is a compiler problem.