Revision control

Copy as Markdown

Other Tools

#[test]
#[should_panic]
#[cfg(debug_assertions)]
fn explodes_in_debug() {
use debug_unreachable::debug_unreachable;
unsafe { debug_unreachable!() }
}