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

anymap stopping being compilable in future? #38

Closed
vi opened this issue Nov 12, 2019 · 1 comment
Closed

anymap stopping being compilable in future? #38

vi opened this issue Nov 12, 2019 · 1 comment

Comments

@vi
Copy link

vi commented Nov 12, 2019

rust-lang/rust#51443

warning: the trait `any::CloneToAny` cannot be made into an object
  --> /mnt/src/git/anymap/src/any.rs:15:8
   |
15 |     fn clone_to_any_send(&self) -> Box<CloneAny + Send> where Self: Send;
   |        ^^^^^^^^^^^^^^^^^
   |
   = note: `#[warn(where_clauses_object_safety)]` on by default
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
   = note: for more information, see issue #51443 <https://github.com/rust-lang/rust/issues/51443>
   = note: method `clone_to_any_send` references the `Self` type in where clauses

Does anymap rely on a trick deemed unsound?

@vi
Copy link
Author

vi commented Nov 12, 2019

Duplicate of #31.

@vi vi closed this as completed Nov 12, 2019
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

No branches or pull requests

1 participant