1
1
error[E0277]: `*const ()` cannot be sent between threads safely
2
- --> $DIR /not-send.rs:19:15
2
+ --> ui /not-send.rs:19:15
3
3
|
4
4
19 | is_send::<Consumer<NotSend, 4>>();
5
5
| ^^^^^^^^^^^^^^^^^^^^ `*const ()` cannot be sent between threads safely
@@ -8,16 +8,16 @@ error[E0277]: `*const ()` cannot be sent between threads safely
8
8
= note: required because it appears within the type `PhantomData<*const ()>`
9
9
= note: required for `Consumer<'_, PhantomData<*const ()>, 4>` to implement `Send`
10
10
note: required by a bound in `is_send`
11
- --> $DIR /not-send.rs:14:8
11
+ --> ui /not-send.rs:14:8
12
12
|
13
13
12 | fn is_send<T>()
14
- | ------- required by a bound in this
14
+ | ------- required by a bound in this function
15
15
13 | where
16
16
14 | T: Send,
17
17
| ^^^^ required by this bound in `is_send`
18
18
19
19
error[E0277]: `*const ()` cannot be sent between threads safely
20
- --> $DIR /not-send.rs:20:15
20
+ --> ui /not-send.rs:20:15
21
21
|
22
22
20 | is_send::<Producer<NotSend, 4>>();
23
23
| ^^^^^^^^^^^^^^^^^^^^ `*const ()` cannot be sent between threads safely
@@ -26,16 +26,16 @@ error[E0277]: `*const ()` cannot be sent between threads safely
26
26
= note: required because it appears within the type `PhantomData<*const ()>`
27
27
= note: required for `Producer<'_, PhantomData<*const ()>, 4>` to implement `Send`
28
28
note: required by a bound in `is_send`
29
- --> $DIR /not-send.rs:14:8
29
+ --> ui /not-send.rs:14:8
30
30
|
31
31
12 | fn is_send<T>()
32
- | ------- required by a bound in this
32
+ | ------- required by a bound in this function
33
33
13 | where
34
34
14 | T: Send,
35
35
| ^^^^ required by this bound in `is_send`
36
36
37
37
error[E0277]: `*const ()` cannot be sent between threads safely
38
- --> $DIR /not-send.rs:21:15
38
+ --> ui /not-send.rs:21:15
39
39
|
40
40
21 | is_send::<Queue<NotSend, 4>>();
41
41
| ^^^^^^^^^^^^^^^^^ `*const ()` cannot be sent between threads safely
@@ -48,16 +48,16 @@ error[E0277]: `*const ()` cannot be sent between threads safely
48
48
= note: required because it appears within the type `[UnsafeCell<MaybeUninit<PhantomData<*const ()>>>; 4]`
49
49
= note: required because it appears within the type `Queue<PhantomData<*const ()>, 4>`
50
50
note: required by a bound in `is_send`
51
- --> $DIR /not-send.rs:14:8
51
+ --> ui /not-send.rs:14:8
52
52
|
53
53
12 | fn is_send<T>()
54
- | ------- required by a bound in this
54
+ | ------- required by a bound in this function
55
55
13 | where
56
56
14 | T: Send,
57
57
| ^^^^ required by this bound in `is_send`
58
58
59
59
error[E0277]: `*const ()` cannot be sent between threads safely
60
- --> $DIR /not-send.rs:22:15
60
+ --> ui /not-send.rs:22:15
61
61
|
62
62
22 | is_send::<Vec<NotSend, 4>>();
63
63
| ^^^^^^^^^^^^^^^ `*const ()` cannot be sent between threads safely
@@ -67,18 +67,18 @@ error[E0277]: `*const ()` cannot be sent between threads safely
67
67
= note: required because it appears within the type `ManuallyDrop<PhantomData<*const ()>>`
68
68
= note: required because it appears within the type `MaybeUninit<PhantomData<*const ()>>`
69
69
= 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>`
71
71
note: required by a bound in `is_send`
72
- --> $DIR /not-send.rs:14:8
72
+ --> ui /not-send.rs:14:8
73
73
|
74
74
12 | fn is_send<T>()
75
- | ------- required by a bound in this
75
+ | ------- required by a bound in this function
76
76
13 | where
77
77
14 | T: Send,
78
78
| ^^^^ required by this bound in `is_send`
79
79
80
80
error[E0277]: `*const ()` cannot be sent between threads safely
81
- --> $DIR /not-send.rs:23:15
81
+ --> ui /not-send.rs:23:15
82
82
|
83
83
23 | is_send::<HistoryBuffer<NotSend, 4>>();
84
84
| ^^^^^^^^^^^^^^^^^^^^^^^^^ `*const ()` cannot be sent between threads safely
@@ -90,10 +90,10 @@ error[E0277]: `*const ()` cannot be sent between threads safely
90
90
= note: required because it appears within the type `[MaybeUninit<PhantomData<*const ()>>; 4]`
91
91
= note: required because it appears within the type `HistoryBuffer<PhantomData<*const ()>, 4>`
92
92
note: required by a bound in `is_send`
93
- --> $DIR /not-send.rs:14:8
93
+ --> ui /not-send.rs:14:8
94
94
|
95
95
12 | fn is_send<T>()
96
- | ------- required by a bound in this
96
+ | ------- required by a bound in this function
97
97
13 | where
98
98
14 | T: Send,
99
99
| ^^^^ required by this bound in `is_send`
0 commit comments