mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-31 13:04:42 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			195 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			195 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| // run-pass
 | |
| // Issue #12512.
 | |
| 
 | |
| // pretty-expanded FIXME #23616
 | |
| 
 | |
| fn main() {
 | |
|     let mut foo = Vec::new();
 | |
|     #[allow(unused_labels)]
 | |
|     'foo: for i in &[1, 2, 3] {
 | |
|         foo.push(*i);
 | |
|     }
 | |
| }
 | 
