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
{{ message }}
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.
I cargo build on V1.66 and get a warning
: conflicting implementations of trait Trait for type (dyn std::marker::Send + std::marker::Sync + 'static): (E0119)
--> /home/tornado/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/traitobject-0.1.0/src/impls.rs:75:1
|
73 | unsafe impl Trait for ::std::marker::Sync + Send { }
| ------------------------------------------------ first implementation here
74 | unsafe impl Trait for ::std::marker::Sync + Sync { }
75 | unsafe impl Trait for ::std::marker::Sync + Send + Sync { }
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for (dyn std::marker::Send + std::marker::Sync + 'static)
|
= 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 #56484 rust-lang/rust#56484
= note: #[allow(order_dependent_trait_objects)] on by default
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I cargo build on V1.66 and get a warning
: conflicting implementations of trait
Trait
for type(dyn std::marker::Send + std::marker::Sync + 'static)
: (E0119)The text was updated successfully, but these errors were encountered: