Skip to content

Commit 188f94d

Browse files
committed
Update cfail tests.
1 parent 62b122e commit 188f94d

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

cfail/ui/not-send.stderr

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
error[E0277]: `*const ()` cannot be sent between threads safely
2-
--> ui/not-send.rs:19:5
2+
--> ui/not-send.rs:19:15
33
|
44
19 | is_send::<Consumer<NotSend, 4>>();
5-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `*const ()` cannot be sent between threads safely
5+
| ^^^^^^^^^^^^^^^^^^^^ `*const ()` cannot be sent between threads safely
66
|
77
= help: within `PhantomData<*const ()>`, the trait `Send` is not implemented for `*const ()`
88
= note: required because it appears within the type `PhantomData<*const ()>`
9-
= note: required because of the requirements on the impl of `Send` for `Consumer<'_, PhantomData<*const ()>, 4>`
9+
= note: required for `Consumer<'_, PhantomData<*const ()>, 4>` to implement `Send`
1010
note: required by a bound in `is_send`
1111
--> ui/not-send.rs:14:8
1212
|
@@ -17,14 +17,14 @@ note: required by a bound in `is_send`
1717
| ^^^^ required by this bound in `is_send`
1818

1919
error[E0277]: `*const ()` cannot be sent between threads safely
20-
--> ui/not-send.rs:20:5
20+
--> ui/not-send.rs:20:15
2121
|
2222
20 | is_send::<Producer<NotSend, 4>>();
23-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `*const ()` cannot be sent between threads safely
23+
| ^^^^^^^^^^^^^^^^^^^^ `*const ()` cannot be sent between threads safely
2424
|
2525
= help: within `PhantomData<*const ()>`, the trait `Send` is not implemented for `*const ()`
2626
= note: required because it appears within the type `PhantomData<*const ()>`
27-
= note: required because of the requirements on the impl of `Send` for `Producer<'_, PhantomData<*const ()>, 4>`
27+
= note: required for `Producer<'_, PhantomData<*const ()>, 4>` to implement `Send`
2828
note: required by a bound in `is_send`
2929
--> ui/not-send.rs:14:8
3030
|
@@ -35,10 +35,10 @@ note: required by a bound in `is_send`
3535
| ^^^^ required by this bound in `is_send`
3636

3737
error[E0277]: `*const ()` cannot be sent between threads safely
38-
--> ui/not-send.rs:21:5
38+
--> ui/not-send.rs:21:15
3939
|
4040
21 | is_send::<Queue<NotSend, 4>>();
41-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `*const ()` cannot be sent between threads safely
41+
| ^^^^^^^^^^^^^^^^^ `*const ()` cannot be sent between threads safely
4242
|
4343
= help: within `Queue<PhantomData<*const ()>, 4>`, the trait `Send` is not implemented for `*const ()`
4444
= note: required because it appears within the type `PhantomData<*const ()>`
@@ -57,10 +57,10 @@ note: required by a bound in `is_send`
5757
| ^^^^ required by this bound in `is_send`
5858

5959
error[E0277]: `*const ()` cannot be sent between threads safely
60-
--> ui/not-send.rs:22:5
60+
--> ui/not-send.rs:22:15
6161
|
6262
22 | is_send::<Vec<NotSend, 4>>();
63-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ `*const ()` cannot be sent between threads safely
63+
| ^^^^^^^^^^^^^^^ `*const ()` cannot be sent between threads safely
6464
|
6565
= help: within `heapless::Vec<PhantomData<*const ()>, 4>`, the trait `Send` is not implemented for `*const ()`
6666
= note: required because it appears within the type `PhantomData<*const ()>`
@@ -78,10 +78,10 @@ note: required by a bound in `is_send`
7878
| ^^^^ required by this bound in `is_send`
7979

8080
error[E0277]: `*const ()` cannot be sent between threads safely
81-
--> ui/not-send.rs:23:5
81+
--> ui/not-send.rs:23:15
8282
|
8383
23 | is_send::<HistoryBuffer<NotSend, 4>>();
84-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `*const ()` cannot be sent between threads safely
84+
| ^^^^^^^^^^^^^^^^^^^^^^^^^ `*const ()` cannot be sent between threads safely
8585
|
8686
= help: within `HistoryBuffer<PhantomData<*const ()>, 4>`, the trait `Send` is not implemented for `*const ()`
8787
= note: required because it appears within the type `PhantomData<*const ()>`

0 commit comments

Comments
 (0)