mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-31 04:57:19 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			9 lines
		
	
	
		
			208 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			208 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| //@ check-pass
 | |
| 
 | |
| // This regressed from 1.20 -> 1.21 -- the condition is unreachable,
 | |
| // but it's still an expression, and should parse fine.
 | |
| 
 | |
| fn main() {
 | |
|     if { if true { return; } else { return; }; } {}
 | |
| }
 | 
