Function unreachable::unreachable [] [src]

pub unsafe fn unreachable() -> !

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

Calling this function in reachable code invokes undefined behavior. Be very, very sure this is what you want; often, a simple panic! is more suitable.