union field accesses allow arbitrary transmutations inside const fn and are thus marked as unstable for now to allow us more time to think about the semantics of this without blocking the stabilization of const fn on it.
This is behind the const_fn_union feature gate.
Blocked on rust-lang/const-eval#14.
unionfield accesses allow arbitrary transmutations insideconst fnand are thus marked asunstablefor now to allow us more time to think about the semantics of this without blocking the stabilization ofconst fnon it.This is behind the
const_fn_unionfeature gate.Blocked on rust-lang/const-eval#14.