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

Extend use_self to check constructor #4525

Merged
merged 1 commit into from Sep 10, 2019
Merged

Extend use_self to check constructor #4525

merged 1 commit into from Sep 10, 2019

Conversation

ghost
Copy link

@ghost ghost commented Sep 9, 2019

Rust did not allow this before.

changelog: Extend use_self to check constructor

Rust did not allow this before.
@phansch
Copy link
Member

phansch commented Sep 9, 2019

LGTM! Does this fix #3567, too?

@ghost
Copy link
Author

ghost commented Sep 10, 2019

I checked #3567 on master and it was already fixed. I'll make a pull request to close it (with a regression test) after this gets merged.

@phansch
Copy link
Member

phansch commented Sep 10, 2019

@bors r+ thanks for checking =)

@bors
Copy link
Collaborator

bors commented Sep 10, 2019

📌 Commit 31fbff2 has been approved by phansch

@bors
Copy link
Collaborator

bors commented Sep 10, 2019

⌛ Testing commit 31fbff2 with merge c53d2b8...

bors added a commit that referenced this pull request Sep 10, 2019
Extend `use_self` to check constructor

Rust did not allow this before.

changelog: Extend `use_self` to check constructor
@bors
Copy link
Collaborator

bors commented Sep 10, 2019

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

@bors bors merged commit 31fbff2 into rust-lang:master Sep 10, 2019
@ghost ghost deleted the use-self-constructor branch September 13, 2019 06:13
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.

2 participants