mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-14 05:03:12 +00:00
Because it's only used in `rustc_mir_transform`. (Presumably it is currently in `rustc_middle` because lots of other MIR-related stuff is, but that's not a hard requirement.) And because `rustc_middle` is huge and it's always good to make it smaller.
For more information about how rustc works, see the rustc dev guide.