Skip to content

Commit 9ad50a4

Browse files
committed
Move the dataflow framework to its own crate.
1 parent 8cc1012 commit 9ad50a4

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/base.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ pub(crate) fn codegen_fn<'tcx>(
2323
let mir = tcx.instance_mir(instance.def);
2424
let _mir_guard = crate::PrintOnPanic(|| {
2525
let mut buf = Vec::new();
26-
rustc_mir::util::write_mir_pretty(tcx, Some(instance.def_id()), &mut buf).unwrap();
26+
rustc_middle::mir::write_mir_pretty(tcx, Some(instance.def_id()), &mut buf).unwrap();
2727
String::from_utf8_lossy(&buf).into_owned()
2828
});
2929

src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ extern crate rustc_incremental;
1616
extern crate rustc_index;
1717
extern crate rustc_interface;
1818
extern crate rustc_metadata;
19-
extern crate rustc_mir;
2019
extern crate rustc_session;
2120
extern crate rustc_span;
2221
extern crate rustc_target;

0 commit comments

Comments
 (0)