]> git.lizzy.rs Git - rust.git/commitdiff
Update test after rebase
authorTyler Mandry <tmandry@gmail.com>
Tue, 14 Apr 2020 02:14:26 +0000 (19:14 -0700)
committerTyler Mandry <tmandry@gmail.com>
Tue, 14 Apr 2020 02:14:26 +0000 (19:14 -0700)
src/test/ui/async-await/issue-68112.stderr
src/test/ui/generator/issue-68112.stderr

index 78462868ede53b2f70dafe916e947fa459d081c0..6ded3e475bc377107d676bda29c546fad761ff27 100644 (file)
@@ -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
index 4148b503ba8585c887dc65bb74b26bc59fba2992..83536f2af140631122d8f2425a76671783a8ff14 100644 (file)
@@ -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