mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-03 22:49:17 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			8 lines
		
	
	
		
			127 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			127 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
// error-pattern: mismatched types
 | 
						|
 | 
						|
fn f() -> isize { return g(); }
 | 
						|
 | 
						|
fn g() -> usize { return 0; }
 | 
						|
 | 
						|
fn main() { let y = f(); }
 |