Skip to content

rustc: Eliminate a derived error in check::_match - #8479

Merged
graydon merged 1 commit into
rust-lang:masterfrom
catamorphism:derived-errors
Aug 15, 2013
Merged

graydon merged 1 commit into
rust-lang:masterfrom
catamorphism:derived-errors

Conversation

@catamorphism

Copy link
Copy Markdown
Contributor

r? @graydon or @bblum, whoever gets there first

graydon added a commit that referenced this pull request Aug 15, 2013
rustc: Eliminate a derived error in check::_match
@graydon
graydon merged commit 9b92500 into rust-lang:master Aug 15, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Mar 14, 2022
Fix some `unnecessary_filter_map` false positives

This is a proposed fix for rust-lang#4433.

It moves `clone_or_copy_needed` out of `unnecessary_iter_cloned.rs` and into `methods::utils`. It then adds a check of this function to `unnecessary_filter_map::check`.

Fixes rust-lang#4433

changelog: none
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants