From af8cf129f6b90bba7af9ea19039d00dfbf1e91bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sosth=C3=A8ne=20Gu=C3=A9don?= Date: Tue, 19 Dec 2023 15:51:36 +0100 Subject: [PATCH] Fix cfail tests --- cfail/ui/not-send.stderr | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cfail/ui/not-send.stderr b/cfail/ui/not-send.stderr index 40645b7a..058e28e8 100644 --- a/cfail/ui/not-send.stderr +++ b/cfail/ui/not-send.stderr @@ -72,7 +72,7 @@ error[E0277]: `*const ()` cannot be sent between threads safely 22 | is_send::>(); | ^^^^^^^^^^^^^^^ `*const ()` cannot be sent between threads safely | - = help: within `heapless::Vec, 4>`, the trait `Send` is not implemented for `*const ()` + = help: within `heapless::vec::VecInner<[MaybeUninit>; 4]>`, the trait `Send` is not implemented for `*const ()` note: required because it appears within the type `PhantomData<*const ()>` --> $RUST/core/src/marker.rs note: required because it appears within the type `ManuallyDrop>` @@ -80,11 +80,11 @@ note: required because it appears within the type `ManuallyDrop>` --> $RUST/core/src/mem/maybe_uninit.rs = note: required because it appears within the type `[MaybeUninit>; 4]` -note: required because it appears within the type `Vec, 4>` +note: required because it appears within the type `VecInner<[MaybeUninit>; 4]>` --> $HEAPLESS/src/vec.rs | - | pub struct Vec { - | ^^^ + | pub struct VecInner { + | ^^^^^^^^ note: required by a bound in `is_send` --> ui/not-send.rs:14:8 |