Skip to content

Commit 4326d95

Browse files
committed
Update test after rebase
1 parent df64c5d commit 4326d95

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/test/ui/async-await/issue-68112.stderr

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ error: future cannot be sent between threads safely
22
--> $DIR/issue-68112.rs:34:5
33
|
44
LL | fn require_send(_: impl Send) {}
5-
| ------------ ---- required by this bound in `require_send`
5+
| ---- required by this bound in `require_send`
66
...
77
LL | 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
|
2020
LL | fn require_send(_: impl Send) {}
21-
| ------------ ---- required by this bound in `require_send`
21+
| ---- required by this bound in `require_send`
2222
...
2323
LL | 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
|
3636
LL | fn require_send(_: impl Send) {}
37-
| ------------ ---- required by this bound in `require_send`
37+
| ---- required by this bound in `require_send`
3838
...
3939
LL | require_send(send_fut);
4040
| ^^^^^^^^^^^^ `std::cell::RefCell<i32>` cannot be shared between threads safely

src/test/ui/generator/issue-68112.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ error: generator cannot be sent between threads safely
22
--> $DIR/issue-68112.rs:33:5
33
|
44
LL | fn require_send(_: impl Send) {}
5-
| ------------ ---- required by this bound in `require_send`
5+
| ---- required by this bound in `require_send`
66
...
77
LL | 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
|
2424
LL | fn require_send(_: impl Send) {}
25-
| ------------ ---- required by this bound in `require_send`
25+
| ---- required by this bound in `require_send`
2626
...
2727
LL | require_send(send_gen);
2828
| ^^^^^^^^^^^^ `std::cell::RefCell<i32>` cannot be shared between threads safely

0 commit comments

Comments
 (0)