Skip to main content

panic_fn

Function panic_fn 

Source
pub unsafe fn panic_fn(_default: Obj, message: Obj) -> Obj
Expand description

Lean’s panic!. Lean’s own runtime prints the message and continues with a default value; here the Rust program panics, so that a violated assumption cannot go unnoticed.