-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
All issues
Issue creation is restricted in this repository
- #7666 · dtolnay opened
on Sep 13, 2021 23
Issues
is:issue manual_retain
is:issue manual_retain
Search results
cargo clippy --fixfor clippy::manual_retain results in broken codeC-bugCategory: Clippy is not doing the correct thingCategory: Clippy is not doing the correct thingStatus: Open.#13852 In rust-lang/rust-clippy;clippy suggests to use retain in the same way as filter
C-bugCategory: Clippy is not doing the correct thingCategory: Clippy is not doing the correct thingStatus: Closed (completed).#12663 In rust-lang/rust-clippy;manual_retain: incorrect suggestions for some closure parameter patternsC-bugCategory: Clippy is not doing the correct thingCategory: Clippy is not doing the correct thingI-suggestion-causes-errorIssue: The suggestions provided by this Lint cause an ICE/error when appliedIssue: The suggestions provided by this Lint cause an ICE/error when appliedStatus: Closed (completed).#12081 In rust-lang/rust-clippy;clippy::manual_retain on self already borrowed as immutable
C-bugCategory: Clippy is not doing the correct thingCategory: Clippy is not doing the correct thingI-false-positiveIssue: The lint was triggered on code it shouldn't haveIssue: The lint was triggered on code it shouldn't haveStatus: Open.#11606 In rust-lang/rust-clippy;Want to extend
clear_with_drainto other types of containersC-enhancementCategory: Enhancement of lints, like adding more cases or adding help messagesCategory: Enhancement of lints, like adding more cases or adding help messagesStatus: Closed (completed).#10572 In rust-lang/rust-clippy;Incorrect fix suggestion for
manual_retainC-bugCategory: Clippy is not doing the correct thingCategory: Clippy is not doing the correct thingI-suggestion-causes-errorIssue: The suggestions provided by this Lint cause an ICE/error when appliedIssue: The suggestions provided by this Lint cause an ICE/error when appliedStatus: Closed (completed).#10393 In rust-lang/rust-clippy;want to lint
binary_heapinmanual_retainwhen API is stabilizedC-enhancementCategory: Enhancement of lints, like adding more cases or adding help messagesCategory: Enhancement of lints, like adding more cases or adding help messagesgood first issueThese issues are a good way to get started with ClippyThese issues are a good way to get started with ClippyStatus: Closed (completed).#9059 In rust-lang/rust-clippy;