rust/clippy_lints
bors 78e36d9f53 Auto merge of #10996 - Centri3:mem_forget, r=xFrednet
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)
2023-06-25 09:40:13 +00:00
..
src Auto merge of #10996 - Centri3:mem_forget, r=xFrednet 2023-06-25 09:40:13 +00:00
Cargo.toml Add lint to check lint formulation messages 2023-06-03 00:00:30 +05:30
README.md

This crate contains Clippy lints. For the main crate, check GitHub.