mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-30 12:36:38 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			266 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			266 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| // Regression issue for rustdoc ICE encountered in PR #65252.
 | |
| 
 | |
| #![feature(decl_macro)]
 | |
| 
 | |
| fn main() {
 | |
|     || {
 | |
|         macro m() {}
 | |
|     };
 | |
| 
 | |
|     let _ = || {
 | |
|         macro n() {}
 | |
|     };
 | |
| 
 | |
|     let cond = true;
 | |
|     let _ = || if cond { macro n() {} } else { panic!() };
 | |
| }
 | 
