You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compiling anymap on the current nightly results in this warning: rust-lang/rust#51443
warning: the trait `any::CloneToAny` cannot be made into an object
--> src/any.rs:15:5
|
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
(same warning for all clone_to_any_X methods)
The text was updated successfully, but these errors were encountered:
Well, although it’s acknowledged to be a spurious warning, nothing’s been done about it, so I’ve finally caved and implemented it a different way, adding some more unsafe, but avoiding this troublesome future-compatibility warning.
Compiling anymap on the current nightly results in this warning: rust-lang/rust#51443
(same warning for all
clone_to_any_X
methods)The text was updated successfully, but these errors were encountered: