Skip to content

Commit 06dcc4d

Browse files
committed
Remove more Session methods that duplicate DiagCtxt methods.
1 parent f9fa038 commit 06dcc4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/miri.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ impl rustc_driver::Callbacks for MiriCompilerCalls {
110110
i32::try_from(return_code).expect("Return value was too large!"),
111111
);
112112
}
113-
tcx.sess.abort_if_errors();
113+
tcx.dcx().abort_if_errors();
114114
});
115115

116116
Compilation::Stop

0 commit comments

Comments
 (0)