mirror of
				https://github.com/mozilla/gecko-dev.git
				synced 2025-11-04 10:18:41 +02:00 
			
		
		
		
	This removes the unreachable crate. Differential Revision: https://phabricator.services.mozilla.com/D117820
		
			
				
	
	
		
			10 lines
		
	
	
	
		
			195 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			10 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.");
 | 
						|
    }
 | 
						|
}
 |