mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-31 04:57:19 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			177 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			177 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| #![feature(associated_const_equality)]
 | |
| 
 | |
| trait T {
 | |
|     type A: S<C<X = 0i32> = 34>;
 | |
|     //~^ ERROR associated type bindings are not allowed here
 | |
| }
 | |
| 
 | |
| trait S {
 | |
|     const C: i32;
 | |
| }
 | 
