]> git.lizzy.rs Git - rust.git/blob - src/test/ui/specialization/specialization-overlap-negative.stderr
Rollup merge of #57107 - mjbshaw:thread_local_test, r=nikomatsakis
[rust.git] / src / test / ui / specialization / specialization-overlap-negative.stderr
1 error[E0119]: conflicting implementations 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    | ------------------------------------------ first implementation here
6 LL | impl<T: MyTrait> !Send for TestType<T> {} //~ ERROR E0119
7    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `TestType<_>`
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0119`.