non-exhaustive match failure in eval_const_expr when shift arguments differ in signedness #2426
Labels
A-frontend
Area: Compiler frontend (errors, parsing and HIR)
I-crash
Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.
eval_const_expr always requires the arguments of a binary op to have the same type, which needn't be true for shift operators. Forcing eval_const_expr to be called on such a shift triggers a compiler failure.
The text was updated successfully, but these errors were encountered: