case_sensitive_file_extension_comparisons should suggest is_some_and
#14357
Labels
C-bug
Category: Clippy is not doing the correct thing
is_some_and
#14357
Summary
The
clippy::case_sensitive_file_extension_comparisons
suggestion should not cause subsequent clippy lint.Reproducer
I tried this code:
I expected the suggestion to not cause any clippy warnings, but instead, it suggested to replace it with this:
The suggested code produces this:
Version
Additional Labels
No response
The text was updated successfully, but these errors were encountered: