]> git.lizzy.rs Git - rust.git/blob - src/librustc_error_codes/error_codes/E0184.md
Spell check librustc_error_codes
[rust.git] / src / librustc_error_codes / error_codes / E0184.md
1 Explicitly implementing both Drop and Copy for a type is currently disallowed.
2 This feature can make some sense in theory, but the current implementation is
3 incorrect and can lead to memory unsafety (see [issue #20126][iss20126]), so
4 it has been disabled for now.
5
6 [iss20126]: https://github.com/rust-lang/rust/issues/20126