Skip to content

Commit 3615780

Browse files
committed
Fix new ? inference errors in librustc_driver
1 parent ea5bc7a commit 3615780

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_driver/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ pub fn run_compiler(
253253
if let Some((ppm, opt_uii)) = pretty_info {
254254
if ppm.needs_ast_map(&opt_uii) {
255255
pretty::visit_crate(sess, &mut compiler.parse()?.peek_mut(), ppm);
256-
compiler.global_ctxt()?.peek_mut().enter(|tcx| {
256+
compiler.global_ctxt()?.peek_mut().enter(|tcx| -> interface::Result<_> {
257257
let expanded_crate = compiler.expansion()?.take().0;
258258
pretty::print_after_hir_lowering(
259259
tcx,

0 commit comments

Comments
 (0)