File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 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
22 --> $DIR/issue-68112.rs:34:5
33 |
44LL | fn require_send(_: impl Send) {}
5- | ------------ ---- required by this bound in `require_send`
5+ | ---- required by this bound in `require_send`
66...
77LL | require_send(send_fut);
88 | ^^^^^^^^^^^^ future created by async block is not `Send`
@@ -18,7 +18,7 @@ error: future cannot be sent between threads safely
1818 --> $DIR/issue-68112.rs:43:5
1919 |
2020LL | fn require_send(_: impl Send) {}
21- | ------------ ---- required by this bound in `require_send`
21+ | ---- required by this bound in `require_send`
2222...
2323LL | require_send(send_fut);
2424 | ^^^^^^^^^^^^ future created by async block is not `Send`
@@ -34,7 +34,7 @@ error[E0277]: `std::cell::RefCell<i32>` cannot be shared between threads safely
3434 --> $DIR/issue-68112.rs:60:5
3535 |
3636LL | fn require_send(_: impl Send) {}
37- | ------------ ---- required by this bound in `require_send`
37+ | ---- required by this bound in `require_send`
3838...
3939LL | require_send(send_fut);
4040 | ^^^^^^^^^^^^ `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
22 --> $DIR/issue-68112.rs:33:5
33 |
44LL | fn require_send(_: impl Send) {}
5- | ------------ ---- required by this bound in `require_send`
5+ | ---- required by this bound in `require_send`
66...
77LL | require_send(send_gen);
88 | ^^^^^^^^^^^^ generator is not `Send`
@@ -22,7 +22,7 @@ error[E0277]: `std::cell::RefCell<i32>` cannot be shared between threads safely
2222 --> $DIR/issue-68112.rs:52:5
2323 |
2424LL | fn require_send(_: impl Send) {}
25- | ------------ ---- required by this bound in `require_send`
25+ | ---- required by this bound in `require_send`
2626...
2727LL | require_send(send_gen);
2828 | ^^^^^^^^^^^^ `std::cell::RefCell<i32>` cannot be shared between threads safely
You can’t perform that action at this time.
0 commit comments