[][src]Function rustc_driver::install_ice_hook

pub fn install_ice_hook()
⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

Installs a panic hook that will print the ICE message on unexpected panics.

A custom rustc driver can skip calling this to set up a custom ICE hook.