Skip to content

Commit 5fd0e79

Browse files
committed
Fix nightly breakage
Caused by rust-lang/rust#60584
1 parent 9c534aa commit 5fd0e79

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

rls-rustc/src/lib.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@ pub fn run() -> Result<(), ()> {
7272
None => args,
7373
};
7474

75-
rustc_driver::report_ices_to_stderr_if_any(|| {
75+
rustc_driver::install_ice_hook();
76+
rustc_driver::catch_fatal_errors(|| {
7677
run_compiler(&args, &mut shim_calls, file_loader, None)
7778
})
7879
.map(|_| ())

0 commit comments

Comments
 (0)