Update custom ICE function with latest rustc

This commit is contained in:
Philipp Hansch 2019-10-08 21:23:57 +02:00
parent fc57c84abe
commit 36c6a18217
No known key found for this signature in database
GPG key ID: 82AA61CAA11397E6

View file

@ -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);
} }
} }