Skip to content

Commit 7cb0e80

Browse files
Fix cfail tests
1 parent 701d274 commit 7cb0e80

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cfail/ui/not-send.stderr

+4-4
Original file line numberDiff line numberDiff line change
@@ -72,19 +72,19 @@ error[E0277]: `*const ()` cannot be sent between threads safely
7272
22 | 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 ()`
7676
note: required because it appears within the type `PhantomData<*const ()>`
7777
--> $RUST/core/src/marker.rs
7878
note: required because it appears within the type `ManuallyDrop<PhantomData<*const ()>>`
7979
--> $RUST/core/src/mem/manually_drop.rs
8080
note: 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+
| ^^^^^^^^
8888
note: required by a bound in `is_send`
8989
--> ui/not-send.rs:14:8
9090
|

0 commit comments

Comments
 (0)