@@ -4,7 +4,7 @@ error[E0117]: only traits defined in the current crate can be implemented for ar
4
4
LL | unsafe impl Send for (MyType, MyType) {}
5
5
| ^^^^^^^^^^^^^^^^^^^^^----------------
6
6
| | |
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
8
8
| impl doesn't use only types from inside the current crate
9
9
|
10
10
= 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
21
21
LL | unsafe impl Send for [MyType] {}
22
22
| ^^^^^^^^^^^^^^^^^^^^^--------
23
23
| | |
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
25
25
| impl doesn't use only types from inside the current crate
26
26
|
27
27
= 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
32
32
LL | unsafe impl Send for &'static [NotSync] {}
33
33
| ^^^^^^^^^^^^^^^^^^^^^------------------
34
34
| | |
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
36
36
| impl doesn't use only types from inside the current crate
37
37
|
38
38
= note: define and implement a trait or new type instead
0 commit comments