mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-31 13:04:42 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			218 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			218 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| pub fn my_fn<X: Iterator<Item = Something>>(_x: X) -> u32 {
 | |
|     3
 | |
| }
 | |
| 
 | |
| pub struct Something;
 | |
| 
 | |
| pub mod my {
 | |
|     pub trait Iterator<T> {}
 | |
|     pub fn other_fn<X: Iterator<crate::Something>>(_: X) -> u32 {
 | |
|         3
 | |
|     }
 | |
| }
 | 
