panic! (Rust)

panic! aborts the current thread with an error message when the program reaches an unrecoverable state. It unwinds the stack (running destructors) and, by…