You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Manishearth opened this issue
Apr 23, 2019
· 0 comments
· Fixed by #4084
Labels
C-bugCategory: Clippy is not doing the correct thingE-mediumCall for participation: Medium difficulty level problem and requires some initial experience.
#4018 fixes the main false positive in or_fn_call when it comes to things like .or(Some(foo)), keeping them exempt from the lint. However, in the process it also ignores .or(Some(foo.clone()), which it shouldn't.
We should have a visitor there that ensures that all expressions are either paths or ctors.
The text was updated successfully, but these errors were encountered:
Manishearth
added
C-bug
Category: Clippy is not doing the correct thing
E-medium
Call for participation: Medium difficulty level problem and requires some initial experience.
labels
Apr 23, 2019
C-bugCategory: Clippy is not doing the correct thingE-mediumCall for participation: Medium difficulty level problem and requires some initial experience.
#4018 fixes the main false positive in
or_fn_call
when it comes to things like.or(Some(foo))
, keeping them exempt from the lint. However, in the process it also ignores.or(Some(foo.clone())
, which it shouldn't.We should have a visitor there that ensures that all expressions are either paths or ctors.
The text was updated successfully, but these errors were encountered: