--> $DIR/issue-68112.rs:34:5
|
LL | fn require_send(_: impl Send) {}
- | ------------ ---- required by this bound in `require_send`
+ | ---- required by this bound in `require_send`
...
LL | require_send(send_fut);
| ^^^^^^^^^^^^ future created by async block is not `Send`
--> $DIR/issue-68112.rs:43:5
|
LL | fn require_send(_: impl Send) {}
- | ------------ ---- required by this bound in `require_send`
+ | ---- required by this bound in `require_send`
...
LL | require_send(send_fut);
| ^^^^^^^^^^^^ future created by async block is not `Send`
--> $DIR/issue-68112.rs:60:5
|
LL | fn require_send(_: impl Send) {}
- | ------------ ---- required by this bound in `require_send`
+ | ---- required by this bound in `require_send`
...
LL | require_send(send_fut);
| ^^^^^^^^^^^^ `std::cell::RefCell<i32>` cannot be shared between threads safely
--> $DIR/issue-68112.rs:33:5
|
LL | fn require_send(_: impl Send) {}
- | ------------ ---- required by this bound in `require_send`
+ | ---- required by this bound in `require_send`
...
LL | require_send(send_gen);
| ^^^^^^^^^^^^ generator is not `Send`
--> $DIR/issue-68112.rs:52:5
|
LL | fn require_send(_: impl Send) {}
- | ------------ ---- required by this bound in `require_send`
+ | ---- required by this bound in `require_send`
...
LL | require_send(send_gen);
| ^^^^^^^^^^^^ `std::cell::RefCell<i32>` cannot be shared between threads safely