mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-04 06:56:14 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			150 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			150 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
#![crate_name = "inner"]
 | 
						|
pub trait MyTrait {
 | 
						|
    type Y;
 | 
						|
}
 | 
						|
 | 
						|
impl MyTrait for u32 {
 | 
						|
    type Y = i32;
 | 
						|
}
 | 
						|
 | 
						|
pub fn foo() -> <u32 as MyTrait>::Y {
 | 
						|
    0
 | 
						|
}
 |