pub(crate) const fn panic(message: &str) -> !
This is a separate function to reduce the code size of explicit panics.