Files
rust/library/core
Jacob Pratt 433b4073e1 Rollup merge of #160229 - Urgau:extend-drop_useless-drop-in-place, r=mu001999
Extend `dropping_{references,copy_types}` lints to `drop_in_place`

This PR extends the `dropping_{references,copy_types}` lints to also check for calls to `std::ptr::drop_in_place` and `<*mut _>::drop_in_place`.

It also extends the `undropped_manually_drops` lint.

Fixes https://github.com/rust-lang/rust/issues/160127
cc @theemathas
2026-08-22 19:37:10 -04:00
..