From eac714f7ba75e1766816d9e7986c094b4c64532f Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Tue, 23 Jan 2024 15:09:25 +0100 Subject: [PATCH] Update `cfail` output. --- cfail/ui/not-send.stderr | 38 +++++++++++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/cfail/ui/not-send.stderr b/cfail/ui/not-send.stderr index 40645b7a6d..b2e698fad9 100644 --- a/cfail/ui/not-send.stderr +++ b/cfail/ui/not-send.stderr @@ -7,6 +7,9 @@ error[E0277]: `*const ()` cannot be sent between threads safely = help: within `PhantomData<*const ()>`, the trait `Send` is not implemented for `*const ()` note: required because it appears within the type `PhantomData<*const ()>` --> $RUST/core/src/marker.rs + | + | pub struct PhantomData; + | ^^^^^^^^^^^ = note: required for `Consumer<'_, PhantomData<*const ()>, 4>` to implement `Send` note: required by a bound in `is_send` --> ui/not-send.rs:14:8 @@ -26,6 +29,9 @@ error[E0277]: `*const ()` cannot be sent between threads safely = help: within `PhantomData<*const ()>`, the trait `Send` is not implemented for `*const ()` note: required because it appears within the type `PhantomData<*const ()>` --> $RUST/core/src/marker.rs + | + | pub struct PhantomData; + | ^^^^^^^^^^^ = note: required for `Producer<'_, PhantomData<*const ()>, 4>` to implement `Send` note: required by a bound in `is_send` --> ui/not-send.rs:14:8 @@ -45,12 +51,24 @@ error[E0277]: `*const ()` cannot be sent between threads safely = help: within `Queue, 4>`, the trait `Send` is not implemented for `*const ()` note: required because it appears within the type `PhantomData<*const ()>` --> $RUST/core/src/marker.rs + | + | pub struct PhantomData; + | ^^^^^^^^^^^ note: required because it appears within the type `ManuallyDrop>` --> $RUST/core/src/mem/manually_drop.rs + | + | pub struct ManuallyDrop { + | ^^^^^^^^^^^^ note: required because it appears within the type `MaybeUninit>` --> $RUST/core/src/mem/maybe_uninit.rs + | + | pub union MaybeUninit { + | ^^^^^^^^^^^ note: required because it appears within the type `UnsafeCell>>` --> $RUST/core/src/cell.rs + | + | pub struct UnsafeCell { + | ^^^^^^^^^^ = note: required because it appears within the type `[UnsafeCell>>; 4]` note: required because it appears within the type `Queue, 4>` --> $HEAPLESS/src/spsc.rs @@ -75,13 +93,22 @@ error[E0277]: `*const ()` cannot be sent between threads safely = help: within `heapless::Vec, 4>`, the trait `Send` is not implemented for `*const ()` note: required because it appears within the type `PhantomData<*const ()>` --> $RUST/core/src/marker.rs + | + | pub struct PhantomData; + | ^^^^^^^^^^^ note: required because it appears within the type `ManuallyDrop>` --> $RUST/core/src/mem/manually_drop.rs + | + | pub struct ManuallyDrop { + | ^^^^^^^^^^^^ note: required because it appears within the type `MaybeUninit>` --> $RUST/core/src/mem/maybe_uninit.rs + | + | pub union MaybeUninit { + | ^^^^^^^^^^^ = note: required because it appears within the type `[MaybeUninit>; 4]` note: required because it appears within the type `Vec, 4>` - --> $HEAPLESS/src/vec.rs + --> $HEAPLESS/src/vec/mod.rs | | pub struct Vec { | ^^^ @@ -103,10 +130,19 @@ error[E0277]: `*const ()` cannot be sent between threads safely = help: within `HistoryBuffer, 4>`, the trait `Send` is not implemented for `*const ()` note: required because it appears within the type `PhantomData<*const ()>` --> $RUST/core/src/marker.rs + | + | pub struct PhantomData; + | ^^^^^^^^^^^ note: required because it appears within the type `ManuallyDrop>` --> $RUST/core/src/mem/manually_drop.rs + | + | pub struct ManuallyDrop { + | ^^^^^^^^^^^^ note: required because it appears within the type `MaybeUninit>` --> $RUST/core/src/mem/maybe_uninit.rs + | + | pub union MaybeUninit { + | ^^^^^^^^^^^ = note: required because it appears within the type `[MaybeUninit>; 4]` note: required because it appears within the type `HistoryBuffer, 4>` --> $HEAPLESS/src/histbuf.rs