From 16c8f2cca89d071738443a2143880e0079553632 Mon Sep 17 00:00:00 2001 From: Jeffrey Seyfried Date: Fri, 22 Apr 2016 23:21:57 +0000 Subject: [PATCH] Temporarily unimplement pretty printing --- src/librustc_driver/pretty.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/librustc_driver/pretty.rs b/src/librustc_driver/pretty.rs index 30f943bd9a44..f4a8a766c8e3 100644 --- a/src/librustc_driver/pretty.rs +++ b/src/librustc_driver/pretty.rs @@ -226,6 +226,7 @@ impl PpSourceMode { f(&annotation, payload, ast_map.forest.krate()) } PpmTyped => { + /* abort_on_err(driver::phase_3_run_analysis_passes(sess, ast_map.clone(), arenas, @@ -240,6 +241,8 @@ impl PpSourceMode { payload, ast_map.forest.krate()) }), sess) + */ + unimplemented!() } _ => panic!("Should use call_with_pp_support"), } @@ -927,6 +930,7 @@ fn print_with_analysis<'tcx, 'a: 'tcx>(sess: &'a Session, None }; + /* let mut out = Vec::new(); abort_on_err(driver::phase_3_run_analysis_passes(sess, @@ -998,4 +1002,6 @@ fn print_with_analysis<'tcx, 'a: 'tcx>(sess: &'a Session, }), sess).unwrap(); write_output(out, ofile); + */ + unimplemented!() }