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

Support trait impls in unnamed consts #8390

Merged
merged 2 commits into from
Apr 7, 2021
Merged

Support trait impls in unnamed consts #8390

merged 2 commits into from
Apr 7, 2021

Conversation

jonas-schievink
Copy link
Contributor

Fixes #7550

bors r+

@bors
Copy link
Contributor

bors bot commented Apr 7, 2021

@bors bors bot merged commit cf41e14 into rust-lang:master Apr 7, 2021
@jonas-schievink jonas-schievink deleted the unnamed-const-impls branch April 7, 2021 15:32
@lnicola
Copy link
Member

lnicola commented Apr 8, 2021

changelog fix

@@ -208,6 +221,9 @@ impl InherentImpls {
}
}

// NOTE: We're not collecting inherent impls from unnamed consts here, we intentionally only
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is that? Wouldn't implementation be the same?

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.

Support local trait impls for non-local types for unnamed free constants
3 participants