1 error[E0751]: found both positive and negative implementation of trait `std::marker::Send` for type `TestType<_>`:
2 --> $DIR/coherence-conflicting-negative-trait-impl.rs:11:1
4 LL | unsafe impl<T: MyTrait + 'static> Send for TestType<T> {}
5 | ------------------------------------------------------ positive implementation here
7 LL | impl<T: MyTrait> !Send for TestType<T> {}
8 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ negative implementation here
10 error[E0119]: conflicting implementations of trait `std::marker::Send` for type `TestType<_>`:
11 --> $DIR/coherence-conflicting-negative-trait-impl.rs:13:1
13 LL | unsafe impl<T: MyTrait + 'static> Send for TestType<T> {}
14 | ------------------------------------------------------ first implementation here
16 LL | unsafe impl<T: 'static> Send for TestType<T> {}
17 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `TestType<_>`
19 error: aborting due to 2 previous errors
21 Some errors have detailed explanations: E0119, E0751.
22 For more information about an error, try `rustc --explain E0119`.