@@ -4,7 +4,7 @@ error[E0117]: only traits defined in the current crate can be implemented for ar
44LL | unsafe impl Send for (MyType, MyType) {}
55 | ^^^^^^^^^^^^^^^^^^^^^----------------
66 | | |
7- | | `(MyType, MyType)` is not defined in the current crate
7+ | | `(MyType, MyType)` is not defined in the current crate because tuples are always foreign
88 | impl doesn't use only types from inside the current crate
99 |
1010 = note: define and implement a trait or new type instead
@@ -21,7 +21,7 @@ error[E0117]: only traits defined in the current crate can be implemented for ar
2121LL | unsafe impl Send for [MyType] {}
2222 | ^^^^^^^^^^^^^^^^^^^^^--------
2323 | | |
24- | | `[MyType]` is not defined in the current crate because slices are always considered foreign
24+ | | `[MyType]` is not defined in the current crate because slices are always foreign
2525 | impl doesn't use only types from inside the current crate
2626 |
2727 = note: define and implement a trait or new type instead
@@ -32,7 +32,7 @@ error[E0117]: only traits defined in the current crate can be implemented for ar
3232LL | unsafe impl Send for &'static [NotSync] {}
3333 | ^^^^^^^^^^^^^^^^^^^^^------------------
3434 | | |
35- | | `[NotSync]` is not defined in the current crate because slices are always considered foreign
35+ | | `[NotSync]` is not defined in the current crate because slices are always foreign
3636 | impl doesn't use only types from inside the current crate
3737 |
3838 = note: define and implement a trait or new type instead
0 commit comments