@@ -2,7 +2,7 @@ error[E0277]: `UnsafeCell<PhantomData<(*const UnsafeCell<()>, PhantomPinned)>>`
2
2
--> ui/object_not_send_sync.rs
3
3
|
4
4
| needs_sync::<Object>();
5
- | ^^^^^^^^^^^^^^ ^^^^^^ `UnsafeCell<PhantomData<(*const UnsafeCell<()>, PhantomPinned)>>` cannot be shared between threads safely
5
+ | ^^^^^^ `UnsafeCell<PhantomData<(*const UnsafeCell<()>, PhantomPinned)>>` cannot be shared between threads safely
6
6
|
7
7
= help: within `objc2::runtime::Object`, the trait `Sync` is not implemented for `UnsafeCell<PhantomData<(*const UnsafeCell<()>, PhantomPinned)>>`
8
8
= note: required because it appears within the type `objc_object`
@@ -17,7 +17,7 @@ error[E0277]: `*const UnsafeCell<()>` cannot be sent between threads safely
17
17
--> ui/object_not_send_sync.rs
18
18
|
19
19
| needs_send::<Object>();
20
- | ^^^^^^^^^^^^^^ ^^^^^^ `*const UnsafeCell<()>` cannot be sent between threads safely
20
+ | ^^^^^^ `*const UnsafeCell<()>` cannot be sent between threads safely
21
21
|
22
22
= help: within `objc2::runtime::Object`, the trait `Send` is not implemented for `*const UnsafeCell<()>`
23
23
= note: required because it appears within the type `(*const UnsafeCell<()>, PhantomPinned)`
@@ -35,7 +35,7 @@ error[E0277]: `UnsafeCell<PhantomData<(*const UnsafeCell<()>, PhantomPinned)>>`
35
35
--> ui/object_not_send_sync.rs
36
36
|
37
37
| needs_sync::<NSObject>();
38
- | ^^^^^^^^^^^^^^ ^^^^^^^^ `UnsafeCell<PhantomData<(*const UnsafeCell<()>, PhantomPinned)>>` cannot be shared between threads safely
38
+ | ^^^^^^^^ `UnsafeCell<PhantomData<(*const UnsafeCell<()>, PhantomPinned)>>` cannot be shared between threads safely
39
39
|
40
40
= help: within `NSObject`, the trait `Sync` is not implemented for `UnsafeCell<PhantomData<(*const UnsafeCell<()>, PhantomPinned)>>`
41
41
= note: required because it appears within the type `objc_object`
@@ -51,7 +51,7 @@ error[E0277]: `*const UnsafeCell<()>` cannot be sent between threads safely
51
51
--> ui/object_not_send_sync.rs
52
52
|
53
53
| needs_send::<NSObject>();
54
- | ^^^^^^^^^^^^^^ ^^^^^^^^ `*const UnsafeCell<()>` cannot be sent between threads safely
54
+ | ^^^^^^^^ `*const UnsafeCell<()>` cannot be sent between threads safely
55
55
|
56
56
= help: within `NSObject`, the trait `Send` is not implemented for `*const UnsafeCell<()>`
57
57
= note: required because it appears within the type `(*const UnsafeCell<()>, PhantomPinned)`
@@ -70,7 +70,7 @@ error[E0277]: `UnsafeCell<PhantomData<(*const UnsafeCell<()>, PhantomPinned)>>`
70
70
--> ui/object_not_send_sync.rs
71
71
|
72
72
| needs_sync::<NSValue>();
73
- | ^^^^^^^^^^^^^^ ^^^^^^^ `UnsafeCell<PhantomData<(*const UnsafeCell<()>, PhantomPinned)>>` cannot be shared between threads safely
73
+ | ^^^^^^^ `UnsafeCell<PhantomData<(*const UnsafeCell<()>, PhantomPinned)>>` cannot be shared between threads safely
74
74
|
75
75
= help: within `NSValue`, the trait `Sync` is not implemented for `UnsafeCell<PhantomData<(*const UnsafeCell<()>, PhantomPinned)>>`
76
76
= note: required because it appears within the type `objc_object`
@@ -87,7 +87,7 @@ error[E0277]: `*const UnsafeCell<()>` cannot be sent between threads safely
87
87
--> ui/object_not_send_sync.rs
88
88
|
89
89
| needs_send::<NSValue>();
90
- | ^^^^^^^^^^^^^^ ^^^^^^^ `*const UnsafeCell<()>` cannot be sent between threads safely
90
+ | ^^^^^^^ `*const UnsafeCell<()>` cannot be sent between threads safely
91
91
|
92
92
= help: within `NSValue`, the trait `Send` is not implemented for `*const UnsafeCell<()>`
93
93
= note: required because it appears within the type `(*const UnsafeCell<()>, PhantomPinned)`
0 commit comments