about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-06-25 09:40:13 +0000
committerbors <bors@rust-lang.org>2023-06-25 09:40:13 +0000
commit78e36d9f53d8afe2062a3e6ea95f5f638ffd44be (patch)
treedb373dd1cb831f064c2d14f9a86f452d274d4208 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parenta30ca62bdd2db83d990453c11abf560c636a5195 (diff)
parenta5ae9044fbe53996a6d914de539b0fabd95232b4 (diff)
downloadrust-78e36d9f53d8afe2062a3e6ea95f5f638ffd44be.tar.gz
rust-78e36d9f53d8afe2062a3e6ea95f5f638ffd44be.zip
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)
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions