mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-30 20:44:34 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			338 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			338 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| pub trait Aaaaaaa {}
 | |
| 
 | |
| impl Aaaaaaa for () {}
 | |
| 
 | |
| pub fn bbbbbbb() -> impl Aaaaaaa {
 | |
|     ()
 | |
| }
 | |
| 
 | |
| pub struct Ccccccc {}
 | |
| 
 | |
| impl Ccccccc {
 | |
|     pub fn ddddddd(&self) -> impl Aaaaaaa {
 | |
|         ()
 | |
|     }
 | |
|     pub fn eeeeeee(&self, _x: impl Aaaaaaa) -> i32 {
 | |
|         0
 | |
|     }
 | |
|     pub fn fffffff(&self, x: impl Aaaaaaa) -> impl Aaaaaaa {
 | |
|         x
 | |
|     }
 | |
| }
 | 
