mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 15:11:30 +00:00
Update custom ICE function with latest rustc
This commit is contained in:
parent
fc57c84abe
commit
36c6a18217
1 changed files with 1 additions and 1 deletions
|
@ -280,7 +280,7 @@ fn report_clippy_ice(info: &panic::PanicInfo<'_>, bug_report_url: &str) {
|
||||||
let backtrace = std::env::var_os("RUST_BACKTRACE").map(|x| &x != "0").unwrap_or(false);
|
let backtrace = std::env::var_os("RUST_BACKTRACE").map(|x| &x != "0").unwrap_or(false);
|
||||||
|
|
||||||
if backtrace {
|
if backtrace {
|
||||||
TyCtxt::try_print_query_stack();
|
TyCtxt::try_print_query_stack(&handler);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue