//! Install oopsie's custom panic hook and trigger a panic.
//!
//! The hook renders the panic message, a span trace (when a `tracing`
//! subscriber with an `ErrorLayer` is installed), and a backtrace — all through
//! the same colored machinery as [`oopsie::Report`], with no `color_eyre`
//! dependency.
//!
//! Run with: `cargo run --example panic_hook`
//! With a backtrace: `RUST_BACKTRACE=1 cargo run --example panic_hook`
use install_panic_hook;
use instrument;
use *;