2022-11-10 04:21:11 +00:00
|
|
|
warning: conflicting implementations of trait `Trait` for type `(dyn Send + Sync + 'static)`: (E0119)
|
2021-07-03 11:52:19 -07:00
|
|
|
--> $DIR/issue-33140-traitobject-crate.rs:86: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)`
|
2019-01-03 23:46:46 +02:00
|
|
|
|
|
2022-09-18 19:55:36 +04:00
|
|
|
= 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 <https://github.com/rust-lang/rust/issues/56484>
|
2020-01-22 23:57:38 +00:00
|
|
|
note: the lint level is defined here
|
2019-01-03 23:46:46 +02:00
|
|
|
--> $DIR/issue-33140-traitobject-crate.rs:3:9
|
|
|
|
|
|
|
|
|
LL | #![warn(order_dependent_trait_objects)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2022-11-10 04:21:11 +00:00
|
|
|
warning: conflicting implementations of trait `Trait` for type `(dyn Send + Sync + 'static)`: (E0119)
|
2021-07-03 11:52:19 -07:00
|
|
|
--> $DIR/issue-33140-traitobject-crate.rs:89: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) + Send + Sync { }
|
|
|
|
| ------------------------------------------------------------- first implementation here
|
2019-11-06 00:00:00 +00:00
|
|
|
...
|
2019-05-28 14:46:13 -04:00
|
|
|
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)`
|
2019-01-03 23:46:46 +02:00
|
|
|
|
|
|
|
|
= 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 <https://github.com/rust-lang/rust/issues/56484>
|
|
|
|
|
2022-11-10 04:21:11 +00:00
|
|
|
warning: conflicting implementations of trait `Trait` for type `(dyn Send + Sync + 'static)`: (E0119)
|
2021-07-03 11:52:19 -07:00
|
|
|
--> $DIR/issue-33140-traitobject-crate.rs:93: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::Sync) + Send { }
|
|
|
|
| ------------------------------------------------------ first implementation here
|
2019-11-06 00:00:00 +00:00
|
|
|
...
|
2019-05-28 14:46:13 -04:00
|
|
|
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)`
|
2019-01-03 23:46:46 +02:00
|
|
|
|
|
|
|
|
= 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 <https://github.com/rust-lang/rust/issues/56484>
|
|
|
|
|
2020-03-11 16:30:09 +01:00
|
|
|
warning: 3 warnings emitted
|
|
|
|
|
2022-10-03 21:44:37 +02:00
|
|
|
Future incompatibility report: Future breakage diagnostic:
|
2022-11-10 04:21:11 +00:00
|
|
|
warning: conflicting implementations of trait `Trait` for type `(dyn Send + Sync + 'static)`: (E0119)
|
2022-10-03 21:44:37 +02:00
|
|
|
--> $DIR/issue-33140-traitobject-crate.rs:86:1
|
|
|
|
|
|
|
|
|
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)`
|
2022-10-03 21:44:37 +02:00
|
|
|
|
|
|
|
|
= 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 <https://github.com/rust-lang/rust/issues/56484>
|
|
|
|
note: the lint level is defined here
|
|
|
|
--> $DIR/issue-33140-traitobject-crate.rs:3:9
|
|
|
|
|
|
|
|
|
LL | #![warn(order_dependent_trait_objects)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
Future breakage diagnostic:
|
2022-11-10 04:21:11 +00:00
|
|
|
warning: conflicting implementations of trait `Trait` for type `(dyn Send + Sync + 'static)`: (E0119)
|
2022-10-03 21:44:37 +02:00
|
|
|
--> $DIR/issue-33140-traitobject-crate.rs:89:1
|
|
|
|
|
|
|
|
|
LL | unsafe impl Trait for dyn (::std::marker::Send) + 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
|
|
|
|
|
|
|
|
= 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 <https://github.com/rust-lang/rust/issues/56484>
|
|
|
|
note: the lint level is defined here
|
|
|
|
--> $DIR/issue-33140-traitobject-crate.rs:3:9
|
|
|
|
|
|
|
|
|
LL | #![warn(order_dependent_trait_objects)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
Future breakage diagnostic:
|
2022-11-10 04:21:11 +00:00
|
|
|
warning: conflicting implementations of trait `Trait` for type `(dyn Send + Sync + 'static)`: (E0119)
|
2022-10-03 21:44:37 +02:00
|
|
|
--> $DIR/issue-33140-traitobject-crate.rs:93:1
|
|
|
|
|
|
|
|
|
LL | unsafe impl Trait for dyn (::std::marker::Sync) + Send { }
|
|
|
|
| ------------------------------------------------------ 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
|
|
|
|
|
|
|
|
= 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 <https://github.com/rust-lang/rust/issues/56484>
|
|
|
|
note: the lint level is defined here
|
|
|
|
--> $DIR/issue-33140-traitobject-crate.rs:3:9
|
|
|
|
|
|
|
|
|
LL | #![warn(order_dependent_trait_objects)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|