mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-03 22:49:17 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			232 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			232 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
// skip-filecheck
 | 
						|
// EMIT_MIR impossible_predicates.impossible_predicate.ImpossiblePredicates.diff
 | 
						|
 | 
						|
pub fn impossible_predicate(x: &mut i32) -> (&mut i32, &mut i32)
 | 
						|
where
 | 
						|
    for<'a> &'a mut i32: Copy,
 | 
						|
{
 | 
						|
    let y = x;
 | 
						|
    (y, x)
 | 
						|
}
 |