ICE: Implement discriminant const qualify #40012
Labels
A-const-eval
Area: Constant evaluation, covers all const contexts (static, const fn, ...)
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Currently, the compiler will ICE if you have a
match
on an enum within aconst
function. If this isn't implemented, it should at least warn the user instead of showing an ICE.Example here: https://is.gd/r4d3MB
The text was updated successfully, but these errors were encountered: