Skip to content

Commit bc60ad6

Browse files
committed
rustup: mir-json.rs: import TyCtxt
1 parent 3627511 commit bc60ad6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/bin/mir-json.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,15 @@ extern crate getopts;
99
extern crate rustc_errors;
1010
extern crate rustc_target;
1111
extern crate rustc_ast;
12+
extern crate rustc_middle;
1213

1314
extern crate mir_json;
1415

1516
use mir_json::analyz;
1617
use rustc_ast::Crate;
1718
use rustc_driver::Compilation;
1819
use rustc_interface::interface::Compiler;
20+
use rustc_middle::ty::TyCtxt;
1921
use std::env;
2022

2123
struct MirJsonCallbacks {

0 commit comments

Comments
 (0)