We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c534aa commit 6a9558fCopy full SHA for 6a9558f
rls-rustc/src/lib.rs
@@ -72,7 +72,8 @@ pub fn run() -> Result<(), ()> {
72
None => args,
73
};
74
75
- rustc_driver::report_ices_to_stderr_if_any(|| {
+ rustc_driver::install_ice_hook();
76
+ rustc_driver::catch_fatal_errors(|| {
77
run_compiler(&args, &mut shim_calls, file_loader, None)
78
})
79
.map(|_| ())
rls/src/build/rustc.rs
@@ -198,7 +198,7 @@ fn run_in_process(
198
let result = std::panic::catch_unwind({
199
let stderr = Arc::clone(&stderr);
200
|| {
201
- rustc_driver::report_ices_to_stderr_if_any(move || {
+ rustc_driver::catch_fatal_errors(move || {
202
// Replace stderr so we catch most errors.
203
run_compiler(
204
&args,
0 commit comments