Closed
Description
Using std::mem::transmute()
in constant functions is behind the const_transmute
/const_fn_transmute
feature gate.
(In constants, it is stable.)
Blocked on rust-lang/const-eval#14.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
Area: Constant evaluation (MIR interpretation)Area: const fn foo(..) {..}. Pure functions which can be applied at compile time.Blocker: Implemented in the nightly compiler and unstable.Category: A tracking issue for an RFC or an unstable feature.Libs issues that are tracked on the team's project board.Relevant 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 requires a nightly compiler in some way.