From 348584d3e2cd3feb3aa76b2dbe0bbbd8f34b971e Mon Sep 17 00:00:00 2001 From: Ding Xiang Fei Date: Thu, 10 Feb 2022 09:53:26 +0800 Subject: [PATCH] rebase and update tests --- src/test/ui/async-await/issue-64130-4-async-move.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/ui/async-await/issue-64130-4-async-move.rs b/src/test/ui/async-await/issue-64130-4-async-move.rs index e74c740f893f3..99a3b28c5e00f 100644 --- a/src/test/ui/async-await/issue-64130-4-async-move.rs +++ b/src/test/ui/async-await/issue-64130-4-async-move.rs @@ -13,8 +13,8 @@ impl Client { async fn get() {} pub fn foo() -> impl Future + Send { + //~^ ERROR future cannot be sent between threads safely async { - //~^ ERROR future cannot be sent between threads safely match Client(Box::new(true)).status() { 200 => { let _x = get().await;