-
-
Notifications
You must be signed in to change notification settings - Fork 14.3k
Open
4 / 54 of 5 issues completedOpen
4 / 54 of 5 issues completed
Copy link
Labels
A-const-evalArea: Constant evaluation, covers all const contexts (static, const fn, ...)Area: Constant evaluation, covers all const contexts (static, const fn, ...)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.
Description
It looks like #76064 is back. This is the source of countless ICEs. Just in the last few weeks:
- ICE:
invalid asymmetric binary op#121858 - ICE:
Unsigned value 0x100 does not fit in 8 bits#123690 - ICE:
!base.layout().is_sized()#124436 - ICE during validation of ill-typed static: assertion
left == rightfailed atrustc_const_eval/src/interpret/validity.rs#124164
As member of @rust-lang/wg-const-eval my position is that generally these are not const-eval bugs, but bugs in whatever part of the compiler is passing invalid data to const-eval. However, which part would that be? I am not sure whom to ping for this.^^
Sub-issues
Metadata
Metadata
Assignees
Labels
A-const-evalArea: Constant evaluation, covers all const contexts (static, const fn, ...)Area: Constant evaluation, covers all const contexts (static, const fn, ...)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
Projects
Status
Todo