pub fn panic<T, U>(message: T) -> U where T: StringLike
Halt the program at runtime with the given error message.
The provided error message must be either a str or a fmtstr.
str
fmtstr
Halt the program at runtime with the given error message.
The provided error message must be either a
stror afmtstr.