diff options
| author | Tyler Mandry <tmandry@gmail.com> | 2020-04-13 19:14:26 -0700 |
|---|---|---|
| committer | Tyler Mandry <tmandry@gmail.com> | 2020-04-13 19:14:26 -0700 |
| commit | 4326d959f460321ed6f818a015f157af46ec5848 (patch) | |
| tree | 6778c998d62775fd1719aaa21648c0e42a1578d2 | |
| parent | df64c5d260d3841ded8affe68f1be6e47ed1fb26 (diff) | |
| download | rust-4326d959f460321ed6f818a015f157af46ec5848.tar.gz rust-4326d959f460321ed6f818a015f157af46ec5848.zip | |
Update test after rebase
| -rw-r--r-- | src/test/ui/async-await/issue-68112.stderr | 6 | ||||
| -rw-r--r-- | src/test/ui/generator/issue-68112.stderr | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/test/ui/async-await/issue-68112.stderr b/src/test/ui/async-await/issue-68112.stderr index 78462868ede..6ded3e475bc 100644 --- a/src/test/ui/async-await/issue-68112.stderr +++ b/src/test/ui/async-await/issue-68112.stderr @@ -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 diff --git a/src/test/ui/generator/issue-68112.stderr b/src/test/ui/generator/issue-68112.stderr index 4148b503ba8..83536f2af14 100644 --- a/src/test/ui/generator/issue-68112.stderr +++ b/src/test/ui/generator/issue-68112.stderr @@ -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 |
