Skip to content

Commit 96c04e7

Browse files
committed
Update custom ICE function with latest rustc
1 parent 653fce8 commit 96c04e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/driver.rs

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

275275
if backtrace {
276-
TyCtxt::try_print_query_stack();
276+
TyCtxt::try_print_query_stack(&handler);
277277
}
278278
}
279279

0 commit comments

Comments
 (0)