pub unsafe fn unreachable() -> !
Expand description

Hint to the optimizer that any code path which calls this function is statically unreachable and can be removed.

Equivalent to std::hint::unreachable_unchecked but works in older versions of Rust.