Inspectopedia
 
2024.3

Reference dropped

Warning
New
Last modified: 03 December 2024

Reports calls to std::mem::drop with a reference instead of an owned value.

Corresponds to the drop_ref lint from Rust Clippy.