mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-04 06:56:14 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			369 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			369 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
error: constant pattern depends on a generic parameter
 | 
						|
  --> $DIR/const-match-pat-generic.rs:8:9
 | 
						|
   |
 | 
						|
LL |         const { V } => {},
 | 
						|
   |         ^^^^^^^^^^^
 | 
						|
 | 
						|
error: constant pattern depends on a generic parameter
 | 
						|
  --> $DIR/const-match-pat-generic.rs:20:9
 | 
						|
   |
 | 
						|
LL |         const { f(V) } => {},
 | 
						|
   |         ^^^^^^^^^^^^^^
 | 
						|
 | 
						|
error: aborting due to 2 previous errors
 | 
						|
 |