blob: 7b6674e71bf198120c48e79c3431047302fcd2a0 [file] [log] [blame]
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: lint level defined here
--> $DIR/lint-missing-copy-implementations.rs:3:9
|
LL | #![deny(missing_copy_implementations)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to previous error