From 5fd0e79ab6bb3e917804d2d2206c3b571e124cd5 Mon Sep 17 00:00:00 2001 From: Igor Matuszewski Date: Sun, 15 Sep 2019 11:10:39 +0200 Subject: [PATCH] Fix nightly breakage Caused by https://github.com/rust-lang/rust/pull/60584 --- rls-rustc/src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rls-rustc/src/lib.rs b/rls-rustc/src/lib.rs index 3d497cd598c..f847513b59b 100644 --- a/rls-rustc/src/lib.rs +++ b/rls-rustc/src/lib.rs @@ -72,7 +72,8 @@ pub fn run() -> Result<(), ()> { None => args, }; - rustc_driver::report_ices_to_stderr_if_any(|| { + rustc_driver::install_ice_hook(); + rustc_driver::catch_fatal_errors(|| { run_compiler(&args, &mut shim_calls, file_loader, None) }) .map(|_| ())