mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 05:33:27 +00:00
78e36d9f53
Lint `mem_forget` if any fields are `Drop` Closes #9298 I think this way of doing it (`needs_drop`) should be fine. --- changelog: Enhancement: [`mem_forget`]: Now lints on types with fields that implement `Drop` [#10996](https://github.com/rust-lang/rust-clippy/pull/10996) |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |