False positive significant_drop_in_scrutinee
if matching on a MutexGuard
even if it is still used afterwards
#9072
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
See reproducer below
Lint Name
significant_drop_in_scrutinee
Reproducer
I tried this code:
I saw this happen:
I expected to see this happen: No warning
Version
Additional Labels
@rustbot label +I-false-positive
The text was updated successfully, but these errors were encountered: