fork/rust
git clone https://git.julia.blue/fork/rust
8d69840ab92
1.43.1
1error[E0119]: conflicting implementations of trait `std::marker::Send` for type `TestType<_>`: 2 --> $DIR/coherence-conflicting-negative-trait-impl.rs:11:1 3 | 4LL | unsafe impl<T: MyTrait+'static> Send for TestType<T> {} 5 | ---------------------------------------------------- first implementation here 6LL | 7LL | impl<T: MyTrait> !Send for TestType<T> {} 8 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `TestType<_>` 9 10error[E0119]: conflicting implementations of trait `std::marker::Send` for type `TestType<_>`: 11 --> $DIR/coherence-conflicting-negative-trait-impl.rs:14:1 12 | 13LL | unsafe impl<T: MyTrait+'static> Send for TestType<T> {} 14 | ---------------------------------------------------- first implementation here 15... 16LL | unsafe impl<T:'static> Send for TestType<T> {} 17 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `TestType<_>` 18 19error: aborting due to 2 previous errors 20 21For more information about this error, try `rustc --explain E0119`.