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

Solve auto traits for closures (issue #734) #755

Merged
merged 2 commits into from
Jul 28, 2022

Conversation

shamatar
Copy link
Contributor

@shamatar shamatar commented Mar 12, 2022

Fixes #734

Behavior for resolution for auto trait should not be different from requirements for any other trait, even though it's placed in special location - one should require that every bound type should implement some (auto) trait for a closure to automatically implement trait.

@jackh726
Copy link
Member

Agh forgot about this!

@bors r+

@bors
Copy link
Contributor

bors commented Jul 28, 2022

📌 Commit bd23a76 has been approved by jackh726

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Jul 28, 2022

⌛ Testing commit bd23a76 with merge f5c7ee1...

@bors
Copy link
Contributor

bors commented Jul 28, 2022

☀️ Test successful - checks-actions
Approved by: jackh726
Pushing f5c7ee1 to master...

@bors bors merged commit f5c7ee1 into rust-lang:master Jul 28, 2022
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.

Auto traits are not handled for generic closures
3 participants