mirror of
				https://git.proxmox.com/git/rustc
				synced 2025-11-04 07:17:58 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			188 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			188 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
trait A<Y, N> {
 | 
						|
    type B;
 | 
						|
}
 | 
						|
type MaybeBox<T> = <T as A<T, Box<T>>>::B;
 | 
						|
struct P {
 | 
						|
    t: MaybeBox<P>
 | 
						|
}
 | 
						|
impl<Y, N> A<Y, N> for P {
 | 
						|
    type B = N;
 | 
						|
}
 | 
						|
fn main() {
 | 
						|
    let t: MaybeBox<P>;
 | 
						|
}
 |