mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-13 07:37:49 +00:00

Allow transmute casts in pre-runtime-MIR
r? ``@scottmcm``
cc ``@BoxyUwU``
turns out in https://github.com/rust-lang/rust/pull/138393 I erroneously used transmute casts in fd3da4bebd/compiler/rustc_mir_build/src/builder/matches/test.rs (L209)
I don't think they have any issues using them before runtime, we just checked for them because we didn't have code exercising those code paths