Skip to content

Commit 1184bf4

Browse files
committed
update UI text
1 parent 2274a56 commit 1184bf4

File tree

1 file changed

+36
-24
lines changed

1 file changed

+36
-24
lines changed

cfail/ui/not-send.stderr

Lines changed: 36 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,44 @@
11
error[E0277]: `*const ()` cannot be sent between threads safely
22
--> $DIR/not-send.rs:19:5
33
|
4-
12 | fn is_send<T>()
5-
| -------
6-
13 | where
7-
14 | T: Send,
8-
| ---- required by this bound in `is_send`
9-
...
104
19 | is_send::<Consumer<NotSend, consts::U4>>();
115
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `*const ()` cannot be sent between threads safely
126
|
137
= help: within `std::marker::PhantomData<*const ()>`, the trait `std::marker::Send` is not implemented for `*const ()`
148
= note: required because it appears within the type `std::marker::PhantomData<*const ()>`
159
= 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::uint::UInt<typenum::uint::UInt<typenum::uint::UTerm, typenum::bit::B1>, typenum::bit::B0>, typenum::bit::B0>>`
10+
note: required by `is_send`
11+
--> $DIR/not-send.rs:12:1
12+
|
13+
12 | / fn is_send<T>()
14+
13 | | where
15+
14 | | T: Send,
16+
15 | | {
17+
16 | | }
18+
| |_^
1619

1720
error[E0277]: `*const ()` cannot be sent between threads safely
1821
--> $DIR/not-send.rs:20:5
1922
|
20-
12 | fn is_send<T>()
21-
| -------
22-
13 | where
23-
14 | T: Send,
24-
| ---- required by this bound in `is_send`
25-
...
2623
20 | is_send::<Producer<NotSend, consts::U4>>();
2724
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `*const ()` cannot be sent between threads safely
2825
|
2926
= help: within `std::marker::PhantomData<*const ()>`, the trait `std::marker::Send` is not implemented for `*const ()`
3027
= note: required because it appears within the type `std::marker::PhantomData<*const ()>`
3128
= 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::uint::UInt<typenum::uint::UInt<typenum::uint::UTerm, typenum::bit::B1>, typenum::bit::B0>, typenum::bit::B0>>`
29+
note: required by `is_send`
30+
--> $DIR/not-send.rs:12:1
31+
|
32+
12 | / fn is_send<T>()
33+
13 | | where
34+
14 | | T: Send,
35+
15 | | {
36+
16 | | }
37+
| |_^
3238

3339
error[E0277]: `*const ()` cannot be sent between threads safely
3440
--> $DIR/not-send.rs:21:5
3541
|
36-
12 | fn is_send<T>()
37-
| -------
38-
13 | where
39-
14 | T: Send,
40-
| ---- required by this bound in `is_send`
41-
...
4242
21 | is_send::<Queue<NotSend, consts::U4>>();
4343
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `*const ()` cannot be sent between threads safely
4444
|
@@ -49,16 +49,19 @@ error[E0277]: `*const ()` cannot be sent between threads safely
4949
= note: required because it appears within the type `std::mem::MaybeUninit<generic_array::GenericArray<std::marker::PhantomData<*const ()>, typenum::uint::UInt<typenum::uint::UInt<typenum::uint::UInt<typenum::uint::UTerm, typenum::bit::B1>, typenum::bit::B0>, typenum::bit::B0>>>`
5050
= note: required because it appears within the type `heapless::i::Queue<generic_array::GenericArray<std::marker::PhantomData<*const ()>, typenum::uint::UInt<typenum::uint::UInt<typenum::uint::UInt<typenum::uint::UTerm, typenum::bit::B1>, typenum::bit::B0>, typenum::bit::B0>>>`
5151
= note: required because it appears within the type `heapless::spsc::Queue<std::marker::PhantomData<*const ()>, typenum::uint::UInt<typenum::uint::UInt<typenum::uint::UInt<typenum::uint::UTerm, typenum::bit::B1>, typenum::bit::B0>, typenum::bit::B0>>`
52+
note: required by `is_send`
53+
--> $DIR/not-send.rs:12:1
54+
|
55+
12 | / fn is_send<T>()
56+
13 | | where
57+
14 | | T: Send,
58+
15 | | {
59+
16 | | }
60+
| |_^
5261

5362
error[E0277]: `*const ()` cannot be sent between threads safely
5463
--> $DIR/not-send.rs:22:5
5564
|
56-
12 | fn is_send<T>()
57-
| -------
58-
13 | where
59-
14 | T: Send,
60-
| ---- required by this bound in `is_send`
61-
...
6265
22 | is_send::<heapless::Vec<NotSend, consts::U4>>();
6366
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `*const ()` cannot be sent between threads safely
6467
|
@@ -69,3 +72,12 @@ error[E0277]: `*const ()` cannot be sent between threads safely
6972
= note: required because it appears within the type `std::mem::MaybeUninit<generic_array::GenericArray<std::marker::PhantomData<*const ()>, typenum::uint::UInt<typenum::uint::UInt<typenum::uint::UInt<typenum::uint::UTerm, typenum::bit::B1>, typenum::bit::B0>, typenum::bit::B0>>>`
7073
= note: required because it appears within the type `heapless::i::Vec<generic_array::GenericArray<std::marker::PhantomData<*const ()>, typenum::uint::UInt<typenum::uint::UInt<typenum::uint::UInt<typenum::uint::UTerm, typenum::bit::B1>, typenum::bit::B0>, typenum::bit::B0>>>`
7174
= note: required because it appears within the type `heapless::vec::Vec<std::marker::PhantomData<*const ()>, typenum::uint::UInt<typenum::uint::UInt<typenum::uint::UInt<typenum::uint::UTerm, typenum::bit::B1>, typenum::bit::B0>, typenum::bit::B0>>`
75+
note: required by `is_send`
76+
--> $DIR/not-send.rs:12:1
77+
|
78+
12 | / fn is_send<T>()
79+
13 | | where
80+
14 | | T: Send,
81+
15 | | {
82+
16 | | }
83+
| |_^

0 commit comments

Comments
 (0)