mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-31 21:16:44 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			6 lines
		
	
	
		
			174 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			6 lines
		
	
	
		
			174 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| //@ check-pass
 | |
| // manually desugared version of an `async fn` (but with a closure instead of a coroutine)
 | |
| pub fn a() -> impl Fn() -> u32 {
 | |
|     || content::doesnt::matter()
 | |
| }
 | 
