Skip to content

Fix #2293 - ptr_arg #3131

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
Sep 5, 2018
Merged

Fix #2293 - ptr_arg #3131

merged 1 commit into from
Sep 5, 2018

Conversation

JoshMcguigan
Copy link
Contributor

Hello, I am new to the clippy codebase and I was hoping to help by fixing #2293.

I've added a test case to the test file for ptr_arg, which I believe matches what the original issue said to do to recreate the bug, but running TESTNAME=ui/ptr_arg cargo test --test compile-test after making this change did not cause a test failure. I would have expected the tests to fail here, because the issue description said that clippy would incorrectly warn in this situation.

Am I missing something? Or perhaps was this issue resolved with some other change?

@oli-obk
Copy link
Contributor

oli-obk commented Sep 5, 2018

I guess in that case the issue is fixed by your regression test. We don't really need to care about triggering lints inside the standard library if those lints are specifically about standard library types.

@oli-obk oli-obk merged commit ebb88a4 into rust-lang:master Sep 5, 2018
@oli-obk
Copy link
Contributor

oli-obk commented Sep 5, 2018

Thanks!

@Manishearth
Copy link
Member

Hi! Could you leave the requested comment in #3230 for relicensing?

@JoshMcguigan
Copy link
Contributor Author

@Manishearth Done!

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