mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-31 13:04:42 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			256 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			256 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| //! Tests correct parsing of doc comments on generic parameters in traits.
 | |
| //! Checks that compiler doesn't panic when processing this.
 | |
| 
 | |
| //@ check-pass
 | |
| 
 | |
| #![crate_type = "lib"]
 | |
| 
 | |
| pub trait Layer<
 | |
|     /// Documentation for generic parameter.
 | |
|     Input,
 | |
| >
 | |
| {
 | |
| }
 | 
