Move MirPatch
from rustc_middle
to rustc_mir_transform
.
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.
This commit is contained in:
parent
46c72362bc
commit
28b75a384e
17 changed files with 43 additions and 42 deletions
|
@ -54,6 +54,7 @@ mod errors;
|
|||
mod ffi_unwind_calls;
|
||||
mod lint;
|
||||
mod lint_tail_expr_drop_order;
|
||||
mod patch;
|
||||
mod shim;
|
||||
mod ssa;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue