From 7fcbc83993d5ef483d048c271a7f6c4ac8c98388 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Mon, 28 Aug 2023 21:22:32 -0700 Subject: [PATCH] Update ui test suite to nightly-2023-08-29 --- tests/ui/consider-restricting.stderr | 2 -- tests/ui/send-not-implemented.stderr | 2 -- 2 files changed, 4 deletions(-) diff --git a/tests/ui/consider-restricting.stderr b/tests/ui/consider-restricting.stderr index 5f7fd00..251168b 100644 --- a/tests/ui/consider-restricting.stderr +++ b/tests/ui/consider-restricting.stderr @@ -4,7 +4,6 @@ error: future cannot be sent between threads safely 16 | async fn publish(&self, url: T) {} | ^^ future created by async block is not `Send` | - = note: consider using `std::sync::Arc`; for more information visit note: captured value is not `Send` --> tests/ui/consider-restricting.rs:16:41 | @@ -22,7 +21,6 @@ error: future cannot be sent between threads safely 23 | async fn publish(&self, url: T) {} | ^^ future created by async block is not `Send` | - = note: consider using `std::sync::Arc`; for more information visit note: captured value is not `Send` --> tests/ui/consider-restricting.rs:23:32 | diff --git a/tests/ui/send-not-implemented.stderr b/tests/ui/send-not-implemented.stderr index b8aedfd..2710276 100644 --- a/tests/ui/send-not-implemented.stderr +++ b/tests/ui/send-not-implemented.stderr @@ -10,7 +10,6 @@ error: future cannot be sent between threads safely | |_____^ future created by async block is not `Send` | = help: within `[async block@$DIR/tests/ui/send-not-implemented.rs:8:26: 12:6]`, the trait `Send` is not implemented for `MutexGuard<'_, ()>` - = note: consider using `std::sync::Arc>`; for more information visit note: future is not `Send` as this value is used across an await --> tests/ui/send-not-implemented.rs:11:13 | @@ -35,7 +34,6 @@ error: future cannot be sent between threads safely | |_____^ future created by async block is not `Send` | = help: within `[async block@$DIR/tests/ui/send-not-implemented.rs:14:38: 19:6]`, the trait `Send` is not implemented for `MutexGuard<'_, ()>` - = note: consider using `std::sync::Arc>`; for more information visit note: future is not `Send` as this value is used across an await --> tests/ui/send-not-implemented.rs:17:13 |