mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-03 22:49:17 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			9 lines
		
	
	
		
			234 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			234 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
// Issue: 103366 , Suggest fix for misplaced generic params
 | 
						|
// The generics fail to parse here, so don't make any suggestions/help
 | 
						|
 | 
						|
#[allow(unused)]
 | 
						|
fn<~>()> id(x: T) -> T { x }
 | 
						|
//~^ ERROR expected identifier, found `<`
 | 
						|
 | 
						|
fn main() {}
 |