mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-04 06:56:14 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			256 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			256 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
error: struct fields are separated by `,`
 | 
						|
  --> $DIR/removed-syntax-field-semicolon.rs:2:12
 | 
						|
   |
 | 
						|
LL | struct S {
 | 
						|
   |        - while parsing this struct
 | 
						|
LL |     bar: ();
 | 
						|
   |            ^ help: replace `;` with `,`
 | 
						|
 | 
						|
error: aborting due to previous error
 | 
						|
 |