FN collection_is_never_read: grabbing unit value of push() #10488
Labels
C-bug
Category: Clippy is not doing the correct thing
I-false-negative
Issue: The lint should have been triggered on code, but wasn't
Summary
,
Lint Name
collection_is_never_read
Reproducer
I tried this code:
I expected to see this happen:
Lint trigggers
Instead, this happened:
Linnt doesn't trigger
Version
The text was updated successfully, but these errors were encountered: