Skip to content

Commit e0cd026

Browse files
committed
rustup: Compiler::session() -> sess
rust-lang/rust@3a4798c
1 parent bc60ad6 commit e0cd026

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/mir-json.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ impl rustc_driver::Callbacks for MirJsonCallbacks {
5050
compiler: &Compiler,
5151
tcx: TyCtxt<'tcx>
5252
) -> Compilation {
53-
analyz::analyze(compiler.session(), tcx, self.export_style).unwrap();
53+
analyz::analyze(&compiler.sess, tcx, self.export_style).unwrap();
5454
Compilation::Continue
5555
}
5656
}

0 commit comments

Comments
 (0)