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 #4546 test #7679

Merged
merged 1 commit into from
Sep 22, 2021
Merged

add #4546 test #7679

merged 1 commit into from
Sep 22, 2021

Conversation

lengyijun
Copy link
Contributor

changelog: none
fixed #4546

I notice #4546 was fixed some time, I just add the tests.

@rust-highfive
Copy link

r? @flip1995

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Sep 17, 2021
Copy link
Member

@xFrednet xFrednet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like the issue is already fixed. Thank you for adding a test for it. 👍

One more thing, the lint documentation has a list of rules with some limitations listed below, could you also add the fact that Pin<> is allowed around the self reference (probably worded a bit better) 🙃

tests/ui/wrong_self_convention2.rs Show resolved Hide resolved
@xFrednet
Copy link
Member

LGTM, thank you for adding the tests and documentation 🙃

@bors r+

@bors
Copy link
Contributor

bors commented Sep 22, 2021

📌 Commit b68325e has been approved by xFrednet

@bors
Copy link
Contributor

bors commented Sep 22, 2021

⌛ Testing commit b68325e with merge a4a8ec2...

@bors
Copy link
Contributor

bors commented Sep 22, 2021

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: xFrednet
Pushing a4a8ec2 to master...

@bors bors merged commit a4a8ec2 into rust-lang:master Sep 22, 2021
@lengyijun lengyijun deleted the issue4546 branch October 27, 2023 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pin<&mut self> triggers "wrong_self_convention"
5 participants