mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-30 20:44:34 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			160 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			160 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| //@ check-pass
 | |
| 
 | |
| #![feature(negative_impls)]
 | |
| #![feature(with_negative_coherence)]
 | |
| 
 | |
| trait A {}
 | |
| trait B: A {}
 | |
| 
 | |
| impl !A for u32 {}
 | |
| impl !B for u32 {}
 | |
| 
 | |
| fn main() {}
 | 
