]> git.proxmox.com Git - rustc.git/blame - src/test/ui/specialization/specialization-overlap-negative.stderr
New upstream version 1.44.1+dfsg1
[rustc.git] / src / test / ui / specialization / specialization-overlap-negative.stderr
CommitLineData
ba9703b0 1error[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 |
4LL | unsafe impl<T: Clone> Send for TestType<T> {}
ba9703b0 5 | ------------------------------------------ positive implementation here
532ac7d7 6LL | impl<T: MyTrait> !Send for TestType<T> {}
ba9703b0 7 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ negative implementation here
b7449926
XL
8
9error: aborting due to previous error
10
ba9703b0 11For more information about this error, try `rustc --explain E0751`.