mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-04 15:05:30 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			10 lines
		
	
	
		
			145 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			145 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
//@ run-pass
 | 
						|
pub fn main() {
 | 
						|
    let i = 5;
 | 
						|
    match &&&&i {
 | 
						|
        1 ..= 3 => panic!(),
 | 
						|
        4 ..= 8 => {},
 | 
						|
        _ => panic!(),
 | 
						|
    }
 | 
						|
}
 |