mirror of
				https://git.proxmox.com/git/rustc
				synced 2025-10-31 16:45:07 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			327 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			327 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| fn main() {
 | |
|     trait Seq { }
 | |
| 
 | |
|     impl<T> Seq<T> for Vec<T> {
 | |
|         //~^ ERROR trait takes 0 generic arguments but 1 generic argument
 | |
|         /* ... */
 | |
|     }
 | |
| 
 | |
|     impl Seq<bool> for u32 {
 | |
|         //~^ ERROR trait takes 0 generic arguments but 1 generic argument
 | |
|         /* Treat the integer as a sequence of bits */
 | |
|     }
 | |
| }
 | 
