1 The `Copy` trait was implemented on a type with a `Drop` implementation.
3 Erroneous code example:
15 Explicitly implementing both `Drop` and `Copy` trait on a type is currently
16 disallowed. This feature can make some sense in theory, but the current
17 implementation is incorrect and can lead to memory unsafety (see
18 [issue #20126][iss20126]), so it has been disabled for now.
20 [iss20126]: https://github.com/rust-lang/rust/issues/20126