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

Add CLONE_ON_REF_PTR lint #2037

Merged
merged 1 commit into from
Sep 10, 2017
Merged

Add CLONE_ON_REF_PTR lint #2037

merged 1 commit into from
Sep 10, 2017

Conversation

Aaron1011
Copy link
Member

Closes issue #1645

@llogiq
Copy link
Contributor

llogiq commented Sep 10, 2017

We should probably split the tests/ui/methods.rs suite, it's becoming unwieldy. Makes for a hard to read diff.

If you want, feel free to do it, otherwise the code looks good to me and I'm fine merging this PR as-is and doing a followup.

Edit: sorry, forgot to say thanks for the contribution! You can tell I didn't have any coffee yet...

@oli-obk
Copy link
Contributor

oli-obk commented Sep 10, 2017

Yea this is a disadvantage of using ui-tests. Let's merge it before it bitrots. I'll open an issue about splitting up our ui tests.

@oli-obk oli-obk merged commit b0b6055 into rust-lang:master Sep 10, 2017
@lengyijun
Copy link
Contributor

clone_on_ref_ptr lints on it.

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.

4 participants