mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-07 04:40:11 +00:00

Steal MIR for CTFE when possible. Some bodies, like constants, have CTFE MIR but no optimized MIR. In that case, have `mir_for_ctfe` steal the MIR instead of cloning it.