@@ -7,6 +7,9 @@ error[E0277]: `*const ()` cannot be sent between threads safely
77 = help: within `PhantomData<*const ()>`, the trait `Send` is not implemented for `*const ()`
88note: required because it appears within the type `PhantomData<*const ()>`
99 --> $RUST/core/src/marker.rs
10+ |
11+ | pub struct PhantomData<T: ?Sized>;
12+ | ^^^^^^^^^^^
1013 = note: required for `Consumer<'_, PhantomData<*const ()>, 4>` to implement `Send`
1114note: required by a bound in `is_send`
1215 --> ui/not-send.rs:14:8
@@ -26,6 +29,9 @@ error[E0277]: `*const ()` cannot be sent between threads safely
2629 = help: within `PhantomData<*const ()>`, the trait `Send` is not implemented for `*const ()`
2730note: required because it appears within the type `PhantomData<*const ()>`
2831 --> $RUST/core/src/marker.rs
32+ |
33+ | pub struct PhantomData<T: ?Sized>;
34+ | ^^^^^^^^^^^
2935 = note: required for `Producer<'_, PhantomData<*const ()>, 4>` to implement `Send`
3036note: required by a bound in `is_send`
3137 --> ui/not-send.rs:14:8
@@ -45,12 +51,24 @@ error[E0277]: `*const ()` cannot be sent between threads safely
4551 = help: within `Queue<PhantomData<*const ()>, 4>`, the trait `Send` is not implemented for `*const ()`
4652note: required because it appears within the type `PhantomData<*const ()>`
4753 --> $RUST/core/src/marker.rs
54+ |
55+ | pub struct PhantomData<T: ?Sized>;
56+ | ^^^^^^^^^^^
4857note: required because it appears within the type `ManuallyDrop<PhantomData<*const ()>>`
4958 --> $RUST/core/src/mem/manually_drop.rs
59+ |
60+ | pub struct ManuallyDrop<T: ?Sized> {
61+ | ^^^^^^^^^^^^
5062note: required because it appears within the type `MaybeUninit<PhantomData<*const ()>>`
5163 --> $RUST/core/src/mem/maybe_uninit.rs
64+ |
65+ | pub union MaybeUninit<T> {
66+ | ^^^^^^^^^^^
5267note: required because it appears within the type `UnsafeCell<MaybeUninit<PhantomData<*const ()>>>`
5368 --> $RUST/core/src/cell.rs
69+ |
70+ | pub struct UnsafeCell<T: ?Sized> {
71+ | ^^^^^^^^^^
5472 = note: required because it appears within the type `[UnsafeCell<MaybeUninit<PhantomData<*const ()>>>; 4]`
5573note: required because it appears within the type `Queue<PhantomData<*const ()>, 4>`
5674 --> $HEAPLESS/src/spsc.rs
@@ -75,13 +93,22 @@ error[E0277]: `*const ()` cannot be sent between threads safely
7593 = help: within `heapless::Vec<PhantomData<*const ()>, 4>`, the trait `Send` is not implemented for `*const ()`
7694note: required because it appears within the type `PhantomData<*const ()>`
7795 --> $RUST/core/src/marker.rs
96+ |
97+ | pub struct PhantomData<T: ?Sized>;
98+ | ^^^^^^^^^^^
7899note: required because it appears within the type `ManuallyDrop<PhantomData<*const ()>>`
79100 --> $RUST/core/src/mem/manually_drop.rs
101+ |
102+ | pub struct ManuallyDrop<T: ?Sized> {
103+ | ^^^^^^^^^^^^
80104note: required because it appears within the type `MaybeUninit<PhantomData<*const ()>>`
81105 --> $RUST/core/src/mem/maybe_uninit.rs
106+ |
107+ | pub union MaybeUninit<T> {
108+ | ^^^^^^^^^^^
82109 = note: required because it appears within the type `[MaybeUninit<PhantomData<*const ()>>; 4]`
83110note: required because it appears within the type `Vec<PhantomData<*const ()>, 4>`
84- --> $HEAPLESS/src/vec.rs
111+ --> $HEAPLESS/src/vec/mod .rs
85112 |
86113 | pub struct Vec<T, const N: usize> {
87114 | ^^^
@@ -103,10 +130,19 @@ error[E0277]: `*const ()` cannot be sent between threads safely
103130 = help: within `HistoryBuffer<PhantomData<*const ()>, 4>`, the trait `Send` is not implemented for `*const ()`
104131note: required because it appears within the type `PhantomData<*const ()>`
105132 --> $RUST/core/src/marker.rs
133+ |
134+ | pub struct PhantomData<T: ?Sized>;
135+ | ^^^^^^^^^^^
106136note: required because it appears within the type `ManuallyDrop<PhantomData<*const ()>>`
107137 --> $RUST/core/src/mem/manually_drop.rs
138+ |
139+ | pub struct ManuallyDrop<T: ?Sized> {
140+ | ^^^^^^^^^^^^
108141note: required because it appears within the type `MaybeUninit<PhantomData<*const ()>>`
109142 --> $RUST/core/src/mem/maybe_uninit.rs
143+ |
144+ | pub union MaybeUninit<T> {
145+ | ^^^^^^^^^^^
110146 = note: required because it appears within the type `[MaybeUninit<PhantomData<*const ()>>; 4]`
111147note: required because it appears within the type `HistoryBuffer<PhantomData<*const ()>, 4>`
112148 --> $HEAPLESS/src/histbuf.rs
0 commit comments