]> git.lizzy.rs Git - rust.git/blob - src/test/ui/specialization/specialization-overlap-negative.stderr
e2616534d20412679359a1147a8a2f52500c16af
[rust.git] / src / test / ui / specialization / specialization-overlap-negative.stderr
1 error[E0751]: found both positive and negative implementation of trait `std::marker::Send` for type `TestType<_>`:
2   --> $DIR/specialization-overlap-negative.rs:9:1
3    |
4 LL | unsafe impl<T: Clone> Send for TestType<T> {}
5    | ------------------------------------------ positive implementation here
6 LL | impl<T: MyTrait> !Send for TestType<T> {}
7    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ negative implementation here
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0751`.