]>
Commit | Line | Data |
---|---|---|
ba9703b0 | 1 | error[E0751]: found both positive and negative implementation of trait `std::marker::Send` for type `TestType<_>`: |
0731742a | 2 | --> $DIR/specialization-overlap-negative.rs:9:1 |
b7449926 XL |
3 | | |
4 | LL | unsafe impl<T: Clone> Send for TestType<T> {} | |
ba9703b0 | 5 | | ------------------------------------------ positive implementation here |
532ac7d7 | 6 | LL | impl<T: MyTrait> !Send for TestType<T> {} |
ba9703b0 | 7 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ negative implementation here |
b7449926 XL |
8 | |
9 | error: aborting due to previous error | |
10 | ||
ba9703b0 | 11 | For more information about this error, try `rustc --explain E0751`. |