Skip to content

Conversation

@ebobrow
Copy link
Contributor

@ebobrow ebobrow commented Feb 21, 2022

fixes #6955

changelog: check use_self in pat

@rust-highfive
Copy link

r? @llogiq

(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 Feb 21, 2022
@llogiq
Copy link
Contributor

llogiq commented Feb 26, 2022

Thank you! @bors r+

@bors
Copy link
Contributor

bors commented Feb 26, 2022

📌 Commit 3d09eb9 has been approved by llogiq

bors added a commit that referenced this pull request Feb 26, 2022
check `use_self` in `pat`

fixes #6955

changelog: check `use_self` in `pat`
@bors
Copy link
Contributor

bors commented Feb 26, 2022

⌛ Testing commit 3d09eb9 with merge 98048aa...

@bors
Copy link
Contributor

bors commented Feb 26, 2022

💔 Test failed - checks-action_test

@ebobrow
Copy link
Contributor Author

ebobrow commented Feb 26, 2022

Looks like a formatting error. I think this should fix it.

@llogiq
Copy link
Contributor

llogiq commented Mar 1, 2022

I think it's because SelfTy is not (or no longer?) a tuple struct.

@ebobrow
Copy link
Contributor Author

ebobrow commented Mar 1, 2022

Got it. I changed it in the new code, but should I also fix it where it appears elsewhere in the file?

@llogiq
Copy link
Contributor

llogiq commented Mar 2, 2022

I guess that shouldn't be needed. Let's see.

@bors r+

@bors
Copy link
Contributor

bors commented Mar 2, 2022

📌 Commit 914ae1e has been approved by llogiq

@bors
Copy link
Contributor

bors commented Mar 2, 2022

⌛ Testing commit 914ae1e with merge 2e40dc8...

@bors
Copy link
Contributor

bors commented Mar 2, 2022

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: llogiq
Pushing 2e40dc8 to master...

@bors bors merged commit 2e40dc8 into rust-lang:master Mar 2, 2022
@ebobrow ebobrow deleted the use_self_pat branch March 2, 2022 20:32
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.

FN: use_self doesn't check pat

4 participants