mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-31 13:04:42 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			235 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			235 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| // edition:2018
 | |
| // run-pass
 | |
| 
 | |
| async fn lotsa_lifetimes<'a, 'b, 'c>(a: &'a u32, b: &'b u32, c: &'c u32) -> (&'a u32, &'b u32)
 | |
|     where 'b: 'a
 | |
| {
 | |
|     let _ = (a, c);
 | |
|     (b, b)
 | |
| }
 | |
| 
 | |
| fn main() {
 | |
|     let _ = lotsa_lifetimes(&22, &44, &66);
 | |
| }
 | 
