Skip to content
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

Fix map_clone false positive #4937

Merged
merged 1 commit into from Dec 22, 2019
Merged

Fix map_clone false positive #4937

merged 1 commit into from Dec 22, 2019

Conversation

ghost
Copy link

@ghost ghost commented Dec 22, 2019

Don't lint when the item type is not a reference. copied only applies to references.

changelog: Fix map_clone false positive

Don't lint when the item type is not a reference. `copied` only applies
to references.
@ghost
Copy link
Author

ghost commented Dec 22, 2019

Forgot to say that this fixes #4824.

@phansch
Copy link
Member

phansch commented Dec 22, 2019

@bors r+

@bors
Copy link
Collaborator

bors commented Dec 22, 2019

📌 Commit b15b977 has been approved by phansch

@bors
Copy link
Collaborator

bors commented Dec 22, 2019

⌛ Testing commit b15b977 with merge 8723eb6...

bors added a commit that referenced this pull request Dec 22, 2019
Fix `map_clone` false positive

Don't lint when the item type is not a reference. `copied` only applies to references.

changelog: Fix `map_clone` false positive
@bors
Copy link
Collaborator

bors commented Dec 22, 2019

☀️ Test successful - checks-travis, status-appveyor
Approved by: phansch
Pushing 8723eb6 to master...

@bors bors merged commit b15b977 into rust-lang:master Dec 22, 2019
@ghost ghost deleted the fix-4824 branch December 24, 2019 06:16
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.

None yet

2 participants