arbitrary_enum_discriminant: needs raw ptr -> usize cast + "a raw memory access tried to access part of a pointer value as raw bytes" #62915
Labels
A-const-eval
Area: Constant evaluation, covers all const contexts (static, const fn, ...)
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
With:
something seemingly strange is going on:
I haven't looked at the MIR, but it's strange that a raw pointer -> usize cast is going on here?
cc #60553
cc @oli-obk @eddyb
The text was updated successfully, but these errors were encountered: