Skip to content

Commit c97a74e

Browse files
committed
update cfail tests.
1 parent 49541e9 commit c97a74e

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

cfail/ui/not-send.stderr

+16-16
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0277]: `*const ()` cannot be sent between threads safely
2-
--> $DIR/not-send.rs:19:15
2+
--> ui/not-send.rs:19:15
33
|
44
19 | is_send::<Consumer<NotSend, 4>>();
55
| ^^^^^^^^^^^^^^^^^^^^ `*const ()` cannot be sent between threads safely
@@ -8,16 +8,16 @@ error[E0277]: `*const ()` cannot be sent between threads safely
88
= note: required because it appears within the type `PhantomData<*const ()>`
99
= note: required for `Consumer<'_, PhantomData<*const ()>, 4>` to implement `Send`
1010
note: required by a bound in `is_send`
11-
--> $DIR/not-send.rs:14:8
11+
--> ui/not-send.rs:14:8
1212
|
1313
12 | fn is_send<T>()
14-
| ------- required by a bound in this
14+
| ------- required by a bound in this function
1515
13 | where
1616
14 | T: Send,
1717
| ^^^^ required by this bound in `is_send`
1818

1919
error[E0277]: `*const ()` cannot be sent between threads safely
20-
--> $DIR/not-send.rs:20:15
20+
--> ui/not-send.rs:20:15
2121
|
2222
20 | is_send::<Producer<NotSend, 4>>();
2323
| ^^^^^^^^^^^^^^^^^^^^ `*const ()` cannot be sent between threads safely
@@ -26,16 +26,16 @@ error[E0277]: `*const ()` cannot be sent between threads safely
2626
= note: required because it appears within the type `PhantomData<*const ()>`
2727
= note: required for `Producer<'_, PhantomData<*const ()>, 4>` to implement `Send`
2828
note: required by a bound in `is_send`
29-
--> $DIR/not-send.rs:14:8
29+
--> ui/not-send.rs:14:8
3030
|
3131
12 | fn is_send<T>()
32-
| ------- required by a bound in this
32+
| ------- required by a bound in this function
3333
13 | where
3434
14 | T: Send,
3535
| ^^^^ required by this bound in `is_send`
3636

3737
error[E0277]: `*const ()` cannot be sent between threads safely
38-
--> $DIR/not-send.rs:21:15
38+
--> ui/not-send.rs:21:15
3939
|
4040
21 | is_send::<Queue<NotSend, 4>>();
4141
| ^^^^^^^^^^^^^^^^^ `*const ()` cannot be sent between threads safely
@@ -48,16 +48,16 @@ error[E0277]: `*const ()` cannot be sent between threads safely
4848
= note: required because it appears within the type `[UnsafeCell<MaybeUninit<PhantomData<*const ()>>>; 4]`
4949
= note: required because it appears within the type `Queue<PhantomData<*const ()>, 4>`
5050
note: required by a bound in `is_send`
51-
--> $DIR/not-send.rs:14:8
51+
--> ui/not-send.rs:14:8
5252
|
5353
12 | fn is_send<T>()
54-
| ------- required by a bound in this
54+
| ------- required by a bound in this function
5555
13 | where
5656
14 | T: Send,
5757
| ^^^^ required by this bound in `is_send`
5858

5959
error[E0277]: `*const ()` cannot be sent between threads safely
60-
--> $DIR/not-send.rs:22:15
60+
--> ui/not-send.rs:22:15
6161
|
6262
22 | is_send::<Vec<NotSend, 4>>();
6363
| ^^^^^^^^^^^^^^^ `*const ()` cannot be sent between threads safely
@@ -67,18 +67,18 @@ error[E0277]: `*const ()` cannot be sent between threads safely
6767
= note: required because it appears within the type `ManuallyDrop<PhantomData<*const ()>>`
6868
= note: required because it appears within the type `MaybeUninit<PhantomData<*const ()>>`
6969
= note: required because it appears within the type `[MaybeUninit<PhantomData<*const ()>>; 4]`
70-
= note: required because it appears within the type `heapless::Vec<PhantomData<*const ()>, 4>`
70+
= note: required because it appears within the type `Vec<PhantomData<*const ()>, 4>`
7171
note: required by a bound in `is_send`
72-
--> $DIR/not-send.rs:14:8
72+
--> ui/not-send.rs:14:8
7373
|
7474
12 | fn is_send<T>()
75-
| ------- required by a bound in this
75+
| ------- required by a bound in this function
7676
13 | where
7777
14 | T: Send,
7878
| ^^^^ required by this bound in `is_send`
7979

8080
error[E0277]: `*const ()` cannot be sent between threads safely
81-
--> $DIR/not-send.rs:23:15
81+
--> ui/not-send.rs:23:15
8282
|
8383
23 | is_send::<HistoryBuffer<NotSend, 4>>();
8484
| ^^^^^^^^^^^^^^^^^^^^^^^^^ `*const ()` cannot be sent between threads safely
@@ -90,10 +90,10 @@ error[E0277]: `*const ()` cannot be sent between threads safely
9090
= note: required because it appears within the type `[MaybeUninit<PhantomData<*const ()>>; 4]`
9191
= note: required because it appears within the type `HistoryBuffer<PhantomData<*const ()>, 4>`
9292
note: required by a bound in `is_send`
93-
--> $DIR/not-send.rs:14:8
93+
--> ui/not-send.rs:14:8
9494
|
9595
12 | fn is_send<T>()
96-
| ------- required by a bound in this
96+
| ------- required by a bound in this function
9797
13 | where
9898
14 | T: Send,
9999
| ^^^^ required by this bound in `is_send`

0 commit comments

Comments
 (0)