File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ error: future cannot be sent between threads safely
2
2
--> $DIR/issue-68112.rs:34:5
3
3
|
4
4
LL | fn require_send(_: impl Send) {}
5
- | ------------ ---- required by this bound in `require_send`
5
+ | ---- required by this bound in `require_send`
6
6
...
7
7
LL | require_send(send_fut);
8
8
| ^^^^^^^^^^^^ future created by async block is not `Send`
@@ -18,7 +18,7 @@ error: future cannot be sent between threads safely
18
18
--> $DIR/issue-68112.rs:43:5
19
19
|
20
20
LL | fn require_send(_: impl Send) {}
21
- | ------------ ---- required by this bound in `require_send`
21
+ | ---- required by this bound in `require_send`
22
22
...
23
23
LL | require_send(send_fut);
24
24
| ^^^^^^^^^^^^ future created by async block is not `Send`
@@ -34,7 +34,7 @@ error[E0277]: `std::cell::RefCell<i32>` cannot be shared between threads safely
34
34
--> $DIR/issue-68112.rs:60:5
35
35
|
36
36
LL | fn require_send(_: impl Send) {}
37
- | ------------ ---- required by this bound in `require_send`
37
+ | ---- required by this bound in `require_send`
38
38
...
39
39
LL | require_send(send_fut);
40
40
| ^^^^^^^^^^^^ `std::cell::RefCell<i32>` cannot be shared between threads safely
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ error: generator cannot be sent between threads safely
2
2
--> $DIR/issue-68112.rs:33:5
3
3
|
4
4
LL | fn require_send(_: impl Send) {}
5
- | ------------ ---- required by this bound in `require_send`
5
+ | ---- required by this bound in `require_send`
6
6
...
7
7
LL | require_send(send_gen);
8
8
| ^^^^^^^^^^^^ generator is not `Send`
@@ -22,7 +22,7 @@ error[E0277]: `std::cell::RefCell<i32>` cannot be shared between threads safely
22
22
--> $DIR/issue-68112.rs:52:5
23
23
|
24
24
LL | fn require_send(_: impl Send) {}
25
- | ------------ ---- required by this bound in `require_send`
25
+ | ---- required by this bound in `require_send`
26
26
...
27
27
LL | require_send(send_gen);
28
28
| ^^^^^^^^^^^^ `std::cell::RefCell<i32>` cannot be shared between threads safely
You can’t perform that action at this time.
0 commit comments