1 2 3 4 5 6 7 8
thread_local! { static LOCAL: u64 = panic!(); } fn main() { let _ = std::panic::catch_unwind(|| LOCAL.with(|_| {})); }