noalias on a Box doesn't seem to have an impact when compiling without -C panic=abort
#95323
Labels
A-box
Area: Our favorite opsem complication
A-codegen
Area: Code generation
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I tried this code:
I expect the assert_eq! to be compiled away. However, this only happens with
-C panic=abort
.I'm using rustc 1.61.0-nightly (c84f39e 2022-03-20)
The text was updated successfully, but these errors were encountered: