mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-04 06:56:14 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			322 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			322 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
error: missing expression to iterate on in `for` loop
 | 
						|
  --> $DIR/missing-expression-in-for-loop.rs:2:14
 | 
						|
   |
 | 
						|
LL |     for i in {
 | 
						|
   |              ^
 | 
						|
   |
 | 
						|
help: try adding an expression to the `for` loop
 | 
						|
   |
 | 
						|
LL |     for i in /* expression */ {
 | 
						|
   |              ++++++++++++++++
 | 
						|
 | 
						|
error: aborting due to 1 previous error
 | 
						|
 |