2019-01-04 07:09:09 -06:00
|
|
|
warning: conflicting implementations of trait `Trait` for type `(dyn std::marker::Send + std::marker::Sync + 'static)`: (E0119)
|
2019-01-03 15:46:46 -06:00
|
|
|
--> $DIR/issue-33140-traitobject-crate.rs:85:1
|
|
|
|
|
|
|
|
|
LL | unsafe impl Trait for ::std::marker::Send + Sync { }
|
|
|
|
| ------------------------------------------------ first implementation here
|
|
|
|
LL | unsafe impl Trait for ::std::marker::Send + Send + Sync { }
|
2019-01-04 07:09:09 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `(dyn std::marker::Send + std::marker::Sync + 'static)`
|
2019-01-03 15:46:46 -06:00
|
|
|
|
|
|
|
|
note: lint level defined here
|
|
|
|
--> $DIR/issue-33140-traitobject-crate.rs:3:9
|
|
|
|
|
|
|
|
|
LL | #![warn(order_dependent_trait_objects)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
= 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>
|
|
|
|
|
2019-01-04 07:09:09 -06:00
|
|
|
warning: conflicting implementations of trait `Trait` for type `(dyn std::marker::Send + std::marker::Sync + 'static)`: (E0119)
|
2019-01-03 15:46:46 -06:00
|
|
|
--> $DIR/issue-33140-traitobject-crate.rs:86:1
|
|
|
|
|
|
|
|
|
LL | unsafe impl Trait for ::std::marker::Send + Send + Sync { }
|
|
|
|
| ------------------------------------------------------- first implementation here
|
|
|
|
LL | unsafe impl Trait for ::std::marker::Sync + Send { }
|
2019-01-04 07:09:09 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `(dyn std::marker::Send + std::marker::Sync + 'static)`
|
2019-01-03 15:46:46 -06: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>
|
|
|
|
|
2019-01-04 07:09:09 -06:00
|
|
|
warning: conflicting implementations of trait `Trait` for type `(dyn std::marker::Send + std::marker::Sync + 'static)`: (E0119)
|
2019-01-03 15:46:46 -06:00
|
|
|
--> $DIR/issue-33140-traitobject-crate.rs:88:1
|
|
|
|
|
|
|
|
|
LL | unsafe impl Trait for ::std::marker::Sync + Send { }
|
|
|
|
| ------------------------------------------------ first implementation here
|
|
|
|
LL | unsafe impl Trait for ::std::marker::Sync + Sync { }
|
|
|
|
LL | unsafe impl Trait for ::std::marker::Sync + Send + Sync { }
|
2019-01-04 07:09:09 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `(dyn std::marker::Send + std::marker::Sync + 'static)`
|
2019-01-03 15:46:46 -06: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>
|
|
|
|
|