min const fn checks don't check set discriminant target #66556
Labels
A-const-eval
Area: Constant evaluation, covers all const contexts (static, const fn, ...)
C-bug
Category: This is a bug.
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Leaving this issue as a reminder for https://github.com/rust-lang/rust/pull/66507/files#r347252249
It should be as simple as adding a check_place call to the
SetDiscriminant
This issue has been assigned to @christianpoveda via this comment.
The text was updated successfully, but these errors were encountered: