match_overlapping_arm
false positive when ranges have negative starts
#7829
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
Lint name: match_overlapping_arm
I tried this code:
I expected to see this happen: No warning. Although it's not documented, the lint should not warn when a range is 'completely included' in another one.
Instead, this happened:
Meta
Clippy 0.1.57 (2021-10-15 c102653) on the playground
playground
The text was updated successfully, but these errors were encountered: