The const-eval interpreter is called on incomplete/invalid/ill-formed code #124789
Labels
A-const-eval
Area: Constant evaluation, covers all const contexts (static, const fn, ...)
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
It looks like #76064 is back. This is the source of countless ICEs. Just in the last few weeks:
invalid asymmetric binary op
#121858Unsigned value 0x100 does not fit in 8 bits
#123690!base.layout().is_sized()
#124436left == right
failed atrustc_const_eval/src/interpret/validity.rs
#124164As 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.^^
The text was updated successfully, but these errors were encountered: