Skip to content

Commit e8940a1

Browse files
committed
update compile_fail test to work on 1.64
1 parent 97ac129 commit e8940a1

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

cfail/ui/not-send.stderr

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ error[E0277]: `*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_usize>`
9+
= note: required because of the requirements on the impl of `Send` for `Consumer<'_, PhantomData<*const ()>, 4>`
1010
note: required by a bound in `is_send`
1111
--> ui/not-send.rs:14:8
1212
|
@@ -24,7 +24,7 @@ error[E0277]: `*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_usize>`
27+
= note: required because of the requirements on the impl of `Send` for `Producer<'_, PhantomData<*const ()>, 4>`
2828
note: required by a bound in `is_send`
2929
--> ui/not-send.rs:14:8
3030
|
@@ -40,13 +40,13 @@ error[E0277]: `*const ()` cannot be sent between threads safely
4040
21 | is_send::<Queue<NotSend, 4>>();
4141
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `*const ()` cannot be sent between threads safely
4242
|
43-
= help: within `Queue<PhantomData<*const ()>, 4_usize>`, the trait `Send` is not implemented for `*const ()`
43+
= 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 ()>`
4545
= note: required because it appears within the type `ManuallyDrop<PhantomData<*const ()>>`
4646
= note: required because it appears within the type `MaybeUninit<PhantomData<*const ()>>`
4747
= note: required because it appears within the type `UnsafeCell<MaybeUninit<PhantomData<*const ()>>>`
4848
= note: required because it appears within the type `[UnsafeCell<MaybeUninit<PhantomData<*const ()>>>; 4]`
49-
= note: required because it appears within the type `Queue<PhantomData<*const ()>, 4_usize>`
49+
= note: required because it appears within the type `Queue<PhantomData<*const ()>, 4>`
5050
note: required by a bound in `is_send`
5151
--> ui/not-send.rs:14:8
5252
|
@@ -62,12 +62,12 @@ error[E0277]: `*const ()` cannot be sent between threads safely
6262
22 | is_send::<Vec<NotSend, 4>>();
6363
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ `*const ()` cannot be sent between threads safely
6464
|
65-
= help: within `heapless::Vec<PhantomData<*const ()>, 4_usize>`, the trait `Send` is not implemented for `*const ()`
65+
= 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 ()>`
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_usize>`
70+
= note: required because it appears within the type `heapless::Vec<PhantomData<*const ()>, 4>`
7171
note: required by a bound in `is_send`
7272
--> ui/not-send.rs:14:8
7373
|
@@ -83,12 +83,12 @@ error[E0277]: `*const ()` cannot be sent between threads safely
8383
23 | is_send::<HistoryBuffer<NotSend, 4>>();
8484
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `*const ()` cannot be sent between threads safely
8585
|
86-
= help: within `HistoryBuffer<PhantomData<*const ()>, 4_usize>`, the trait `Send` is not implemented for `*const ()`
86+
= 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 ()>`
8888
= note: required because it appears within the type `ManuallyDrop<PhantomData<*const ()>>`
8989
= note: required because it appears within the type `MaybeUninit<PhantomData<*const ()>>`
9090
= note: required because it appears within the type `[MaybeUninit<PhantomData<*const ()>>; 4]`
91-
= note: required because it appears within the type `HistoryBuffer<PhantomData<*const ()>, 4_usize>`
91+
= note: required because it appears within the type `HistoryBuffer<PhantomData<*const ()>, 4>`
9292
note: required by a bound in `is_send`
9393
--> ui/not-send.rs:14:8
9494
|

0 commit comments

Comments
 (0)