Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 15, 2013

Conversation

catamorphism
Copy link
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