From 8737173dafa371e5e9e491d736513be1baf697f4 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sat, 23 Sep 2023 21:00:19 -0700 Subject: [PATCH] Update ui test suite to nightly-2023-09-24 --- tests/ui/send-not-implemented.stderr | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/tests/ui/send-not-implemented.stderr b/tests/ui/send-not-implemented.stderr index cedc1aa..7152b98 100644 --- a/tests/ui/send-not-implemented.stderr +++ b/tests/ui/send-not-implemented.stderr @@ -17,9 +17,7 @@ note: future is not `Send` as this value is used across an await | ------ has type `MutexGuard<'_, ()>` which is not `Send` 11 | f().await; | ^^^^^ await occurs here, with `_guard` maybe used later -12 | } - | - `_guard` is later dropped here - = note: required for the cast from `Pin>` to `Pin + Send + 'async_trait)>>` + = note: required for the cast from `Pin>` to `Pin + Send>>` error: future cannot be sent between threads safely --> tests/ui/send-not-implemented.rs:14:38 @@ -41,7 +39,4 @@ note: future is not `Send` as this value is used across an await | ------ has type `MutexGuard<'_, ()>` which is not `Send` 17 | f().await; | ^^^^^ await occurs here, with `_guard` maybe used later -18 | true -19 | } - | - `_guard` is later dropped here - = note: required for the cast from `Pin>` to `Pin + Send + 'async_trait)>>` + = note: required for the cast from `Pin>` to `Pin + Send>>`