2025-02-13 09:53:08 +00:00
|
|
|
error[E0119]: conflicting implementations of trait `Trait` for type `(dyn Send + Sync + 'static)`
|
|
|
|
|
--> $DIR/issue-33140-traitobject-crate.rs:83:1
|
2019-01-03 23:46:46 +02:00
|
|
|
|
|
2019-05-28 14:46:13 -04:00
|
|
|
LL | unsafe impl Trait for dyn (::std::marker::Send) + Sync { }
|
|
|
|
|
| ------------------------------------------------------ first implementation here
|
|
|
|
|
LL | unsafe impl Trait for dyn (::std::marker::Send) + Send + Sync { }
|
2022-11-10 04:21:11 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `(dyn Send + Sync + 'static)`
|
2020-03-11 16:30:09 +01:00
|
|
|
|
2025-02-13 09:53:08 +00:00
|
|
|
error[E0119]: conflicting implementations of trait `Trait` for type `(dyn Send + Sync + 'static)`
|
|
|
|
|
--> $DIR/issue-33140-traitobject-crate.rs:85:1
|
2022-10-03 21:44:37 +02:00
|
|
|
|
|
|
|
|
|
LL | unsafe impl Trait for dyn (::std::marker::Send) + Sync { }
|
|
|
|
|
| ------------------------------------------------------ first implementation here
|
|
|
|
|
...
|
|
|
|
|
LL | unsafe impl Trait for dyn (::std::marker::Sync) + Send { }
|
2022-11-10 04:21:11 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `(dyn Send + Sync + 'static)`
|
2022-10-03 21:44:37 +02:00
|
|
|
|
2025-02-13 09:53:08 +00:00
|
|
|
error[E0119]: conflicting implementations of trait `Trait` for type `(dyn Send + Sync + 'static)`
|
|
|
|
|
--> $DIR/issue-33140-traitobject-crate.rs:88:1
|
2022-10-03 21:44:37 +02:00
|
|
|
|
|
2025-02-13 09:53:08 +00:00
|
|
|
LL | unsafe impl Trait for dyn (::std::marker::Send) + Sync { }
|
2022-10-03 21:44:37 +02:00
|
|
|
| ------------------------------------------------------ first implementation here
|
|
|
|
|
...
|
|
|
|
|
LL | unsafe impl Trait for dyn (::std::marker::Sync) + Send + Sync { }
|
2022-11-10 04:21:11 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `(dyn Send + Sync + 'static)`
|
2022-10-03 21:44:37 +02:00
|
|
|
|
2025-02-13 09:53:08 +00:00
|
|
|
error: aborting due to 3 previous errors
|
|
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0119`.
|