temporary with significant Drop can be early dropped #12739
Labels
C-bug
Category: Clippy is not doing the correct thing
I-false-positive
Issue: The lint was triggered on code it shouldn't have
Summary
Originally submitted for Rocket, as i thought it was the macro.
Lint Name
clippy::significant-drop-tightening
Reproducer
I tried this code:
The macro generates this code, which shouldn't warn, as mentioned here
I saw this happen:
I expected to see this happen: Nothing
Version
Additional Labels
No response
The text was updated successfully, but these errors were encountered: