From c97a74e03a556882a1b871d8a08e6da8fb20789e Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Tue, 14 Mar 2023 19:22:39 +0100 Subject: [PATCH] update cfail tests. --- cfail/ui/not-send.stderr | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/cfail/ui/not-send.stderr b/cfail/ui/not-send.stderr index c9c748f20d..63112c4fa3 100644 --- a/cfail/ui/not-send.stderr +++ b/cfail/ui/not-send.stderr @@ -1,5 +1,5 @@ error[E0277]: `*const ()` cannot be sent between threads safely - --> $DIR/not-send.rs:19:15 + --> ui/not-send.rs:19:15 | 19 | is_send::>(); | ^^^^^^^^^^^^^^^^^^^^ `*const ()` cannot be sent between threads safely @@ -8,16 +8,16 @@ error[E0277]: `*const ()` cannot be sent between threads safely = note: required because it appears within the type `PhantomData<*const ()>` = note: required for `Consumer<'_, PhantomData<*const ()>, 4>` to implement `Send` note: required by a bound in `is_send` - --> $DIR/not-send.rs:14:8 + --> ui/not-send.rs:14:8 | 12 | fn is_send() - | ------- required by a bound in this + | ------- required by a bound in this function 13 | where 14 | T: Send, | ^^^^ required by this bound in `is_send` error[E0277]: `*const ()` cannot be sent between threads safely - --> $DIR/not-send.rs:20:15 + --> ui/not-send.rs:20:15 | 20 | is_send::>(); | ^^^^^^^^^^^^^^^^^^^^ `*const ()` cannot be sent between threads safely @@ -26,16 +26,16 @@ error[E0277]: `*const ()` cannot be sent between threads safely = note: required because it appears within the type `PhantomData<*const ()>` = note: required for `Producer<'_, PhantomData<*const ()>, 4>` to implement `Send` note: required by a bound in `is_send` - --> $DIR/not-send.rs:14:8 + --> ui/not-send.rs:14:8 | 12 | fn is_send() - | ------- required by a bound in this + | ------- required by a bound in this function 13 | where 14 | T: Send, | ^^^^ required by this bound in `is_send` error[E0277]: `*const ()` cannot be sent between threads safely - --> $DIR/not-send.rs:21:15 + --> ui/not-send.rs:21:15 | 21 | is_send::>(); | ^^^^^^^^^^^^^^^^^ `*const ()` cannot be sent between threads safely @@ -48,16 +48,16 @@ error[E0277]: `*const ()` cannot be sent between threads safely = note: required because it appears within the type `[UnsafeCell>>; 4]` = note: required because it appears within the type `Queue, 4>` note: required by a bound in `is_send` - --> $DIR/not-send.rs:14:8 + --> ui/not-send.rs:14:8 | 12 | fn is_send() - | ------- required by a bound in this + | ------- required by a bound in this function 13 | where 14 | T: Send, | ^^^^ required by this bound in `is_send` error[E0277]: `*const ()` cannot be sent between threads safely - --> $DIR/not-send.rs:22:15 + --> ui/not-send.rs:22:15 | 22 | is_send::>(); | ^^^^^^^^^^^^^^^ `*const ()` cannot be sent between threads safely @@ -67,18 +67,18 @@ error[E0277]: `*const ()` cannot be sent between threads safely = note: required because it appears within the type `ManuallyDrop>` = note: required because it appears within the type `MaybeUninit>` = note: required because it appears within the type `[MaybeUninit>; 4]` - = note: required because it appears within the type `heapless::Vec, 4>` + = note: required because it appears within the type `Vec, 4>` note: required by a bound in `is_send` - --> $DIR/not-send.rs:14:8 + --> ui/not-send.rs:14:8 | 12 | fn is_send() - | ------- required by a bound in this + | ------- required by a bound in this function 13 | where 14 | T: Send, | ^^^^ required by this bound in `is_send` error[E0277]: `*const ()` cannot be sent between threads safely - --> $DIR/not-send.rs:23:15 + --> ui/not-send.rs:23:15 | 23 | is_send::>(); | ^^^^^^^^^^^^^^^^^^^^^^^^^ `*const ()` cannot be sent between threads safely @@ -90,10 +90,10 @@ error[E0277]: `*const ()` cannot be sent between threads safely = note: required because it appears within the type `[MaybeUninit>; 4]` = note: required because it appears within the type `HistoryBuffer, 4>` note: required by a bound in `is_send` - --> $DIR/not-send.rs:14:8 + --> ui/not-send.rs:14:8 | 12 | fn is_send() - | ------- required by a bound in this + | ------- required by a bound in this function 13 | where 14 | T: Send, | ^^^^ required by this bound in `is_send`