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;