Closed
Description
The feature gate for the issue is #![feature(const_discriminant)]
.
History
- Implementation: make
mem::discriminant
const #69825 - Stabilization PR: Const stabilize mem::discriminant #116240
Unresolved issues
- Interpreter calls discriminant_for_variant on zero variant enum #89765 ICE when used on zero variant enums
Metadata
Metadata
Assignees
Labels
Area: Constant evaluation, covers all const contexts (static, const fn, ...)Blocker: Implemented in the nightly compiler and unstable.Category: An issue tracking the progress of sth. like the implementation of an RFCLibs issues that are considered "small" or self-containedLibs issues that are tracked on the team's project board.Status: This is ready to stabilize; it may need a stabilization report and a PRRelevant to the language team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.This issue / PR is in PFCP or FCP with a disposition to merge it.The final comment period is finished for this PR / Issue.Marks issues that should be documented in the release notes of the next release.