Skip to content

Commit

Permalink
Update test after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
tmandry committed Apr 14, 2020
1 parent df64c5d commit 4326d95
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/test/ui/async-await/issue-68112.stderr
Expand Up @@ -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`
Expand All @@ -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`
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/test/ui/generator/issue-68112.stderr
Expand Up @@ -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`
Expand All @@ -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
Expand Down

0 comments on commit 4326d95

Please sign in to comment.