mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-17 09:23:05 +00:00
Update test after rebase
This commit is contained in:
parent
df64c5d260
commit
4326d959f4
@ -2,7 +2,7 @@ error: future cannot be sent between threads safely
|
||||
--> $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`
|
||||
@ -18,7 +18,7 @@ error: future cannot be sent between threads safely
|
||||
--> $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`
|
||||
@ -34,7 +34,7 @@ error[E0277]: `std::cell::RefCell<i32>` cannot be shared between threads safely
|
||||
--> $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
|
||||
|
@ -2,7 +2,7 @@ error: generator cannot be sent 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`
|
||||
@ -22,7 +22,7 @@ error[E0277]: `std::cell::RefCell<i32>` cannot be shared between threads safely
|
||||
--> $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
|
||||
|
Loading…
Reference in New Issue
Block a user