@@ -6,7 +6,7 @@ error[E0277]: `*const ()` cannot be sent between threads safely
6
6
|
7
7
= help: within `PhantomData<*const ()>`, the trait `Send` is not implemented for `*const ()`
8
8
= note: required because it appears within the type `PhantomData<*const ()>`
9
- = note: required because of the requirements on the impl of `Send` for `Consumer<'_, PhantomData<*const ()>, 4_usize >`
9
+ = note: required because of the requirements on the impl of `Send` for `Consumer<'_, PhantomData<*const ()>, 4 >`
10
10
note: required by a bound in `is_send`
11
11
--> ui/not-send.rs:14:8
12
12
|
@@ -24,7 +24,7 @@ error[E0277]: `*const ()` cannot be sent between threads safely
24
24
|
25
25
= help: within `PhantomData<*const ()>`, the trait `Send` is not implemented for `*const ()`
26
26
= note: required because it appears within the type `PhantomData<*const ()>`
27
- = note: required because of the requirements on the impl of `Send` for `Producer<'_, PhantomData<*const ()>, 4_usize >`
27
+ = note: required because of the requirements on the impl of `Send` for `Producer<'_, PhantomData<*const ()>, 4 >`
28
28
note: required by a bound in `is_send`
29
29
--> ui/not-send.rs:14:8
30
30
|
@@ -40,13 +40,13 @@ error[E0277]: `*const ()` cannot be sent between threads safely
40
40
21 | is_send::<Queue<NotSend, 4>>();
41
41
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `*const ()` cannot be sent between threads safely
42
42
|
43
- = help: within `Queue<PhantomData<*const ()>, 4_usize >`, the trait `Send` is not implemented for `*const ()`
43
+ = help: within `Queue<PhantomData<*const ()>, 4 >`, the trait `Send` is not implemented for `*const ()`
44
44
= note: required because it appears within the type `PhantomData<*const ()>`
45
45
= note: required because it appears within the type `ManuallyDrop<PhantomData<*const ()>>`
46
46
= note: required because it appears within the type `MaybeUninit<PhantomData<*const ()>>`
47
47
= note: required because it appears within the type `UnsafeCell<MaybeUninit<PhantomData<*const ()>>>`
48
48
= note: required because it appears within the type `[UnsafeCell<MaybeUninit<PhantomData<*const ()>>>; 4]`
49
- = note: required because it appears within the type `Queue<PhantomData<*const ()>, 4_usize >`
49
+ = note: required because it appears within the type `Queue<PhantomData<*const ()>, 4 >`
50
50
note: required by a bound in `is_send`
51
51
--> ui/not-send.rs:14:8
52
52
|
@@ -62,12 +62,12 @@ error[E0277]: `*const ()` cannot be sent between threads safely
62
62
22 | is_send::<Vec<NotSend, 4>>();
63
63
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ `*const ()` cannot be sent between threads safely
64
64
|
65
- = help: within `heapless::Vec<PhantomData<*const ()>, 4_usize >`, the trait `Send` is not implemented for `*const ()`
65
+ = help: within `heapless::Vec<PhantomData<*const ()>, 4 >`, the trait `Send` is not implemented for `*const ()`
66
66
= note: required because it appears within the type `PhantomData<*const ()>`
67
67
= note: required because it appears within the type `ManuallyDrop<PhantomData<*const ()>>`
68
68
= note: required because it appears within the type `MaybeUninit<PhantomData<*const ()>>`
69
69
= note: required because it appears within the type `[MaybeUninit<PhantomData<*const ()>>; 4]`
70
- = note: required because it appears within the type `heapless::Vec<PhantomData<*const ()>, 4_usize >`
70
+ = note: required because it appears within the type `heapless::Vec<PhantomData<*const ()>, 4 >`
71
71
note: required by a bound in `is_send`
72
72
--> ui/not-send.rs:14:8
73
73
|
@@ -83,12 +83,12 @@ error[E0277]: `*const ()` cannot be sent between threads safely
83
83
23 | is_send::<HistoryBuffer<NotSend, 4>>();
84
84
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `*const ()` cannot be sent between threads safely
85
85
|
86
- = help: within `HistoryBuffer<PhantomData<*const ()>, 4_usize >`, the trait `Send` is not implemented for `*const ()`
86
+ = help: within `HistoryBuffer<PhantomData<*const ()>, 4 >`, the trait `Send` is not implemented for `*const ()`
87
87
= note: required because it appears within the type `PhantomData<*const ()>`
88
88
= note: required because it appears within the type `ManuallyDrop<PhantomData<*const ()>>`
89
89
= note: required because it appears within the type `MaybeUninit<PhantomData<*const ()>>`
90
90
= note: required because it appears within the type `[MaybeUninit<PhantomData<*const ()>>; 4]`
91
- = note: required because it appears within the type `HistoryBuffer<PhantomData<*const ()>, 4_usize >`
91
+ = note: required because it appears within the type `HistoryBuffer<PhantomData<*const ()>, 4 >`
92
92
note: required by a bound in `is_send`
93
93
--> ui/not-send.rs:14:8
94
94
|
0 commit comments