mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-14 08:07:14 +00:00

Because that's now the only crate that uses it. Moving stuff out of `rustc_middle` is always welcome. I chose to use `impl crate::MirPass`/`impl crate::MirLint` (with explicit `crate::`) everywhere because that's the only mention of `MirPass`/`MirLint` used in all of these files. (Prior to this change, `MirPass` was mostly imported via `use rustc_middle::mir::*` items.)
For more information about how rustc works, see the rustc dev guide.