Skip to content

min const fn checks don't check set discriminant target #66556

Closed

Description

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

A-const-evalArea: Constant evaluation (MIR interpretation)C-bugCategory: This is a bug.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions