mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-04 06:56:14 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			9 lines
		
	
	
		
			173 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			173 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
error: expected identifier, found enum pattern
 | 
						|
  --> $DIR/pat-ref-enum.rs:3:11
 | 
						|
   |
 | 
						|
LL |       ref Some(i) => {}
 | 
						|
   |           ^^^^
 | 
						|
 | 
						|
error: aborting due to previous error
 | 
						|
 |