Skip to content

Commit 04133ea

Browse files
committed
Update custom ICE function with latest rustc
1 parent bcd02da commit 04133ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/driver.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ fn report_clippy_ice(info: &panic::PanicInfo<'_>, bug_report_url: &str) {
304304
let backtrace = std::env::var_os("RUST_BACKTRACE").map(|x| &x != "0").unwrap_or(false);
305305

306306
if backtrace {
307-
TyCtxt::try_print_query_stack();
307+
TyCtxt::try_print_query_stack(&handler);
308308
}
309309
}
310310

0 commit comments

Comments
 (0)