Closures in enum discriminants error when they shouldn't #50689
Labels
A-const-eval
Area: Constant evaluation, covers all const contexts (static, const fn, ...)
A-type-system
Area: Type system
P-high
High priority
regression-from-stable-to-stable
Performance or correctness regression from one stable version to another.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
This used to work (regression from 1.14 stable) but now it doesn't:
In #50623 the error less bad and some
FIXME(#50689)
are left in the code with hints, but still doesn't work. Issue #50688 seems related.The text was updated successfully, but these errors were encountered: