-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
lazy_normalization_consts breaks unsize coercion in rare cases #78369
Copy link
Copy link
Open
Labels
A-lazy-normalizationArea: Lazy normalization (tracking issue: #60471)Area: Lazy normalization (tracking issue: #60471)C-bugCategory: This is a bug.Category: This is a bug.F-generic_const_exprs`#![feature(generic_const_exprs)]``#![feature(generic_const_exprs)]`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-lazy-normalizationArea: Lazy normalization (tracking issue: #60471)Area: Lazy normalization (tracking issue: #60471)C-bugCategory: This is a bug.Category: This is a bug.F-generic_const_exprs`#![feature(generic_const_exprs)]``#![feature(generic_const_exprs)]`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.
This works on stable but fails with the following error when using
lazy_normalization_constsFor this to fail the struct has to contain a type referencing an unevaluated constant,
struct P<T: ?Sized>([u8; 5], T)does work.assigning to myself, but won't get to this right away. If you are interested in working on this before that feel free to do so.
cc @nikomatsakis @varkor