mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-31 04:57:19 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			432 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			432 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| error: type could implement `Copy`; consider adding `impl Copy`
 | |
|   --> $DIR/lint-missing-copy-implementations.rs:6:5
 | |
|    |
 | |
| LL | /     pub struct Foo {
 | |
| LL | |         pub field: i32
 | |
| LL | |     }
 | |
|    | |_____^
 | |
|    |
 | |
| note: the lint level is defined here
 | |
|   --> $DIR/lint-missing-copy-implementations.rs:3:9
 | |
|    |
 | |
| LL | #![deny(missing_copy_implementations)]
 | |
|    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 | |
| 
 | |
| error: aborting due to 1 previous error
 | |
| 
 | 
