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 |