mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-31 21:16:44 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			7 lines
		
	
	
		
			193 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
		
			193 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| fn f<T: ?Sized, U: ?Sized>(_: impl AsRef<T>, _: impl AsRef<U>) {}
 | |
| 
 | |
| fn main() {
 | |
|     f::<[u8]>("a", b"a");
 | |
|     //~^ ERROR function takes 2 generic arguments but 1 generic argument was supplied
 | |
| }
 | 
