From 4326d959f460321ed6f818a015f157af46ec5848 Mon Sep 17 00:00:00 2001 From: Tyler Mandry Date: Mon, 13 Apr 2020 19:14:26 -0700 Subject: [PATCH] Update test after rebase --- src/test/ui/async-await/issue-68112.stderr | 6 +++--- 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` 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` 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` 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` cannot be shared between threads safely