mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-18 01:40:46 +00:00
11 lines
195 B
Rust
11 lines
195 B
Rust
use debug_unreachable::debug_unreachable;
|
|
|
|
fn main() {
|
|
if 0 > 100 {
|
|
// Can't happen!
|
|
unsafe { debug_unreachable!() }
|
|
} else {
|
|
println!("Good, 0 <= 100.");
|
|
}
|
|
}
|