-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
C-bugCategory: Clippy is not doing the correct thingCategory: Clippy is not doing the correct thingI-false-negativeIssue: The lint should have been triggered on code, but wasn'tIssue: The lint should have been triggered on code, but wasn't
Description
Summary
https://rust-lang.github.io/rust-clippy/master/index.html?groups=pedantic&search=Similar_names
The example listed on the clippy index no longer triggers similar_name lint.
The example listed on the index should be included it the unit testing for this lint.
Lint Name
similar_names
Reproducer
I tried this code:
let checked_exp = something;
let checked_expr = something_else;I expected to see this happen:
Lint warning
Instead, this happened:
Nothing
Version
Metadata
Metadata
Assignees
Labels
C-bugCategory: Clippy is not doing the correct thingCategory: Clippy is not doing the correct thingI-false-negativeIssue: The lint should have been triggered on code, but wasn'tIssue: The lint should have been triggered on code, but wasn't