mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-04 06:56:14 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			39 lines
		
	
	
		
			748 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			39 lines
		
	
	
		
			748 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
error: this trait cannot be derived for unions
 | 
						|
  --> $DIR/union-derive.rs:4:5
 | 
						|
   |
 | 
						|
LL |     PartialEq,
 | 
						|
   |     ^^^^^^^^^
 | 
						|
 | 
						|
error: this trait cannot be derived for unions
 | 
						|
  --> $DIR/union-derive.rs:5:5
 | 
						|
   |
 | 
						|
LL |     PartialOrd,
 | 
						|
   |     ^^^^^^^^^^
 | 
						|
 | 
						|
error: this trait cannot be derived for unions
 | 
						|
  --> $DIR/union-derive.rs:6:5
 | 
						|
   |
 | 
						|
LL |     Ord,
 | 
						|
   |     ^^^
 | 
						|
 | 
						|
error: this trait cannot be derived for unions
 | 
						|
  --> $DIR/union-derive.rs:7:5
 | 
						|
   |
 | 
						|
LL |     Hash,
 | 
						|
   |     ^^^^
 | 
						|
 | 
						|
error: this trait cannot be derived for unions
 | 
						|
  --> $DIR/union-derive.rs:8:5
 | 
						|
   |
 | 
						|
LL |     Default,
 | 
						|
   |     ^^^^^^^
 | 
						|
 | 
						|
error: this trait cannot be derived for unions
 | 
						|
  --> $DIR/union-derive.rs:9:5
 | 
						|
   |
 | 
						|
LL |     Debug,
 | 
						|
   |     ^^^^^
 | 
						|
 | 
						|
error: aborting due to 6 previous errors
 | 
						|
 |