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

Rustc warning for future incompatibility due to where_clauses_object_safety #42

Closed
0xpr03 opened this issue Jul 3, 2020 · 1 comment

Comments

@0xpr03
Copy link

0xpr03 commented Jul 3, 2020

Rustc throws the following error:

warning: the trait `anymap::any::CloneToAny` cannot be made into an object
  |
  = 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

warning: the trait `anymap::any::CloneToAny` cannot be made into an object
  |                                                                                                                  
  = 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_sync` references the `Self` type in where clauses                                     
                                                                                                                     
warning: the trait `anymap::any::CloneToAny` cannot be made into an object
  |                                                                                                                  
  = 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_sync` references the `Self` type in where clauses
@0xpr03
Copy link
Author

0xpr03 commented Jul 3, 2020

And duplicate of #31 , sorry

@0xpr03 0xpr03 closed this as completed Jul 3, 2020
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