Skip to content

Commit 36c6a18

Browse files
committed
Update custom ICE function with latest rustc
1 parent fc57c84 commit 36c6a18

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
@@ -280,7 +280,7 @@ fn report_clippy_ice(info: &panic::PanicInfo<'_>, bug_report_url: &str) {
280280
let backtrace = std::env::var_os("RUST_BACKTRACE").map(|x| &x != "0").unwrap_or(false);
281281

282282
if backtrace {
283-
TyCtxt::try_print_query_stack();
283+
TyCtxt::try_print_query_stack(&handler);
284284
}
285285
}
286286

0 commit comments

Comments
 (0)