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
..
2023-06-17 17:03:31 -03:00
2023-06-03 14:38:16 -05:00
2023-06-21 15:56:24 -05:00
2023-06-14 17:15:57 +02:00
2023-06-25 04:28:40 -05:00
2023-06-17 17:03:31 -03:00
2023-06-17 17:03:31 -03:00
2023-06-02 14:46:27 +02:00
2023-06-17 17:03:31 -03:00
2023-06-09 15:32:42 -05:00
2023-06-17 17:03:31 -03:00
2023-06-19 03:44:04 -04:00
2023-06-14 08:41:20 -05:00
2023-05-23 17:22:23 +02:00