mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-31 13:04:42 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			6 lines
		
	
	
		
			111 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			6 lines
		
	
	
		
			111 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| //@ check-pass
 | |
| 
 | |
| type A = Box<dyn (Fn(u8) -> u8) + 'static + Send + Sync>; // OK (but see #39318)
 | |
| 
 | |
| fn main() {}
 | 
