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

Named impls #14

Open
Ixrec opened this issue Jul 7, 2018 · 0 comments
Open

Named impls #14

Ixrec opened this issue Jul 7, 2018 · 0 comments
Labels

Comments

@Ixrec
Copy link
Owner

Ixrec commented Jul 7, 2018

Sometimes it's suggested that impls could have names, such that they have to be explicitly imported by name before they have any effect.

This is not a viable solution for orphan rule conflicts because it's unsound unless it's pure sugar, but that's not at all obvious to most people so it's worth noting that explicitly. In fact, Rust used to have named impls but removed them long before 1.0.

@Ixrec Ixrec added the proposal label Jul 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant