pub unsafe extern "rust-intrinsic" fn panic_if_uninhabited<T>()
A guard for unsafe functions that cannot ever be executed if T
is uninhabited: This will statically either panic, or do nothing.
© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/intrinsics/fn.panic_if_uninhabited.html