mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-31 13:04:42 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			349 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			349 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| //@ check-pass
 | |
| // This is currently stable behavior, which was almost accidentally made an
 | |
| // error in #102161 since there is no test exercising it. I am not sure if
 | |
| // this _should_ be the desired behavior, but at least we should know if it
 | |
| // changes.
 | |
| 
 | |
| fn main() {}
 | |
| 
 | |
| trait Foo {
 | |
|     fn fn_with_type_named_same_as_local_in_param(b: i32, b: i32);
 | |
| }
 | 
