pub const fn unreachable_code_const(explanation: &'static str) -> !
Expand description

Unreachable code, suitable for constant functions.

A constant function that, in a release build, allows the compiler to optimize away the code path calling this function.