Skip to content

Commit 16c8f2c

Browse files
committed
Temporarily unimplement pretty printing
1 parent a988c9a commit 16c8f2c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/librustc_driver/pretty.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ impl PpSourceMode {
226226
f(&annotation, payload, ast_map.forest.krate())
227227
}
228228
PpmTyped => {
229+
/*
229230
abort_on_err(driver::phase_3_run_analysis_passes(sess,
230231
ast_map.clone(),
231232
arenas,
@@ -240,6 +241,8 @@ impl PpSourceMode {
240241
payload,
241242
ast_map.forest.krate())
242243
}), sess)
244+
*/
245+
unimplemented!()
243246
}
244247
_ => panic!("Should use call_with_pp_support"),
245248
}
@@ -927,6 +930,7 @@ fn print_with_analysis<'tcx, 'a: 'tcx>(sess: &'a Session,
927930
None
928931
};
929932

933+
/*
930934
let mut out = Vec::new();
931935
932936
abort_on_err(driver::phase_3_run_analysis_passes(sess,
@@ -998,4 +1002,6 @@ fn print_with_analysis<'tcx, 'a: 'tcx>(sess: &'a Session,
9981002
}), sess).unwrap();
9991003
10001004
write_output(out, ofile);
1005+
*/
1006+
unimplemented!()
10011007
}

0 commit comments

Comments
 (0)