From 1184bf43bc2446c8343516552ed052bbcf0c17fb Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Tue, 17 Dec 2019 16:36:39 +0100 Subject: [PATCH] update UI text --- cfail/ui/not-send.stderr | 60 ++++++++++++++++++++++++---------------- 1 file changed, 36 insertions(+), 24 deletions(-) diff --git a/cfail/ui/not-send.stderr b/cfail/ui/not-send.stderr index a81f85db..a1813b62 100644 --- a/cfail/ui/not-send.stderr +++ b/cfail/ui/not-send.stderr @@ -1,44 +1,44 @@ error[E0277]: `*const ()` cannot be sent between threads safely --> $DIR/not-send.rs:19:5 | -12 | fn is_send() - | ------- -13 | where -14 | T: Send, - | ---- required by this bound in `is_send` -... 19 | is_send::>(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `*const ()` cannot be sent between threads safely | = help: within `std::marker::PhantomData<*const ()>`, the trait `std::marker::Send` is not implemented for `*const ()` = note: required because it appears within the type `std::marker::PhantomData<*const ()>` = note: required because of the requirements on the impl of `std::marker::Send` for `heapless::spsc::split::Consumer<'_, std::marker::PhantomData<*const ()>, typenum::uint::UInt, typenum::bit::B0>, typenum::bit::B0>>` +note: required by `is_send` + --> $DIR/not-send.rs:12:1 + | +12 | / fn is_send() +13 | | where +14 | | T: Send, +15 | | { +16 | | } + | |_^ error[E0277]: `*const ()` cannot be sent between threads safely --> $DIR/not-send.rs:20:5 | -12 | fn is_send() - | ------- -13 | where -14 | T: Send, - | ---- required by this bound in `is_send` -... 20 | is_send::>(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `*const ()` cannot be sent between threads safely | = help: within `std::marker::PhantomData<*const ()>`, the trait `std::marker::Send` is not implemented for `*const ()` = note: required because it appears within the type `std::marker::PhantomData<*const ()>` = note: required because of the requirements on the impl of `std::marker::Send` for `heapless::spsc::split::Producer<'_, std::marker::PhantomData<*const ()>, typenum::uint::UInt, typenum::bit::B0>, typenum::bit::B0>>` +note: required by `is_send` + --> $DIR/not-send.rs:12:1 + | +12 | / fn is_send() +13 | | where +14 | | T: Send, +15 | | { +16 | | } + | |_^ error[E0277]: `*const ()` cannot be sent between threads safely --> $DIR/not-send.rs:21:5 | -12 | fn is_send() - | ------- -13 | where -14 | T: Send, - | ---- required by this bound in `is_send` -... 21 | is_send::>(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `*const ()` cannot be sent between threads safely | @@ -49,16 +49,19 @@ error[E0277]: `*const ()` cannot be sent between threads safely = note: required because it appears within the type `std::mem::MaybeUninit, typenum::uint::UInt, typenum::bit::B0>, typenum::bit::B0>>>` = note: required because it appears within the type `heapless::i::Queue, typenum::uint::UInt, typenum::bit::B0>, typenum::bit::B0>>>` = note: required because it appears within the type `heapless::spsc::Queue, typenum::uint::UInt, typenum::bit::B0>, typenum::bit::B0>>` +note: required by `is_send` + --> $DIR/not-send.rs:12:1 + | +12 | / fn is_send() +13 | | where +14 | | T: Send, +15 | | { +16 | | } + | |_^ error[E0277]: `*const ()` cannot be sent between threads safely --> $DIR/not-send.rs:22:5 | -12 | fn is_send() - | ------- -13 | where -14 | T: Send, - | ---- required by this bound in `is_send` -... 22 | is_send::>(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `*const ()` cannot be sent between threads safely | @@ -69,3 +72,12 @@ error[E0277]: `*const ()` cannot be sent between threads safely = note: required because it appears within the type `std::mem::MaybeUninit, typenum::uint::UInt, typenum::bit::B0>, typenum::bit::B0>>>` = note: required because it appears within the type `heapless::i::Vec, typenum::uint::UInt, typenum::bit::B0>, typenum::bit::B0>>>` = note: required because it appears within the type `heapless::vec::Vec, typenum::uint::UInt, typenum::bit::B0>, typenum::bit::B0>>` +note: required by `is_send` + --> $DIR/not-send.rs:12:1 + | +12 | / fn is_send() +13 | | where +14 | | T: Send, +15 | | { +16 | | } + | |_^