-
Notifications
You must be signed in to change notification settings - Fork 760
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
Rust 1.40.0 nightly breaks specialization #614
Comments
This was introduced by rust-lang/rust#64564. Afaik this should fixable by adding |
Wow 🤔 |
@konstin : actually the default implementation needs to be moved out of the trait for the I'm trying my luck with a PR. |
Most of the ~90 instances of specialization are in the protocols, which always follow the same structure. That's why I made #552 to show that it's possible to have protocols without specialization.
Afaik there are still a lot unresolved questions and even some soundness holes (s. rust-lang/rust#31844), so I don't expect this to be stabilized any time soon. |
🐛 Bug Reports
When reporting a bug, please provide the following information. If this is not a bug report you can just discard this template.
🌍 Environment
pacman
, no.rustc --version
):cargo 1.40.0-nightly (8b0561d68 2019-09-30)
master
💥 Reproducing
Building using the latest nightly Rust compiler gives 89 errors caused by functions being specialized without having been marked as
default
:The text was updated successfully, but these errors were encountered: