File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -72,19 +72,19 @@ error[E0277]: `*const ()` cannot be sent between threads safely
727222 | is_send::<Vec<NotSend, 4>>();
7373 | ^^^^^^^^^^^^^^^ `*const ()` cannot be sent between threads safely
7474 |
75- = help: within `heapless::Vec< PhantomData<*const ()>, 4 >`, the trait `Send` is not implemented for `*const ()`
75+ = help: within `heapless::vec::VecInner<[MaybeUninit< PhantomData<*const ()>>; 4] >`, the trait `Send` is not implemented for `*const ()`
7676note: required because it appears within the type `PhantomData<*const ()>`
7777 --> $RUST/core/src/marker.rs
7878note: required because it appears within the type `ManuallyDrop<PhantomData<*const ()>>`
7979 --> $RUST/core/src/mem/manually_drop.rs
8080note: required because it appears within the type `MaybeUninit<PhantomData<*const ()>>`
8181 --> $RUST/core/src/mem/maybe_uninit.rs
8282 = note: required because it appears within the type `[MaybeUninit<PhantomData<*const ()>>; 4]`
83- note: required because it appears within the type `Vec< PhantomData<*const ()>, 4 >`
83+ note: required because it appears within the type `VecInner<[MaybeUninit< PhantomData<*const ()>>; 4] >`
8484 --> $HEAPLESS/src/vec.rs
8585 |
86- | pub struct Vec<T, const N: usize > {
87- | ^^^
86+ | pub struct VecInner<B: ?Sized + VecDrop > {
87+ | ^^^^^^^^
8888note: required by a bound in `is_send`
8989 --> ui/not-send.rs:14:8
9090 |
You can’t perform that action at this time.
0 commit comments