pub fn panic_hook_with_disk_dump(info: &PanicInfo<'_>, path: Option<&Path>)
🔬This is a nightly-only experimental API. (ice_to_disk)
Expand description

The implementation of the default panic handler.

It can also write the backtrace to a given path. This functionality is used only by rustc.