Revision control
Copy as Markdown
Other Tools
use debug_unreachable::debug_unreachable;
fn main() {
if 0 > 100 {
// Can't happen!
unsafe { debug_unreachable!() }
} else {
println!("Good, 0 <= 100.");
}
}