From eec3bff59c203c436a6fbd01f3ea3bf5b15e1e05 Mon Sep 17 00:00:00 2001 From: Michael Goulet Date: Wed, 6 Nov 2024 17:53:59 +0000 Subject: [PATCH 1/2] Stabilize async closures --- tests/pass/async-closure-captures.rs | 2 +- tests/pass/async-closure-drop.rs | 2 +- tests/pass/async-closure.rs | 2 +- tests/pass/async-drop.rs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/pass/async-closure-captures.rs b/tests/pass/async-closure-captures.rs index 979a6d1cbe..ed6b7b205b 100644 --- a/tests/pass/async-closure-captures.rs +++ b/tests/pass/async-closure-captures.rs @@ -1,6 +1,6 @@ // Same as rustc's `tests/ui/async-await/async-closures/captures.rs`, keep in sync -#![feature(async_closure, async_trait_bounds)] +#![feature(async_trait_bounds)] use std::future::Future; use std::pin::pin; diff --git a/tests/pass/async-closure-drop.rs b/tests/pass/async-closure-drop.rs index ad9822fa46..105aa434b0 100644 --- a/tests/pass/async-closure-drop.rs +++ b/tests/pass/async-closure-drop.rs @@ -1,4 +1,4 @@ -#![feature(async_closure, async_trait_bounds)] +#![feature(async_fn_traits, async_trait_bounds)] use std::future::Future; use std::pin::pin; diff --git a/tests/pass/async-closure.rs b/tests/pass/async-closure.rs index 979b83687e..4c0fb356f9 100644 --- a/tests/pass/async-closure.rs +++ b/tests/pass/async-closure.rs @@ -1,4 +1,4 @@ -#![feature(async_closure, async_fn_traits)] +#![feature(async_fn_traits)] #![allow(unused)] use std::future::Future; diff --git a/tests/pass/async-drop.rs b/tests/pass/async-drop.rs index a455f377e8..6d556b7779 100644 --- a/tests/pass/async-drop.rs +++ b/tests/pass/async-drop.rs @@ -6,7 +6,7 @@ // please consider modifying rustc's async drop test at // `tests/ui/async-await/async-drop.rs`. -#![feature(async_drop, impl_trait_in_assoc_type, async_closure)] +#![feature(async_drop, impl_trait_in_assoc_type)] #![allow(incomplete_features, dead_code)] // FIXME(zetanumbers): consider AsyncDestruct::async_drop cleanup tests From 9bb8a6fe7c98b437a1116b5f99ca201e5343baab Mon Sep 17 00:00:00 2001 From: The Miri Cronjob Bot Date: Fri, 13 Dec 2024 05:04:35 +0000 Subject: [PATCH 2/2] Preparing for merge from rustc --- rust-version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust-version b/rust-version index 03ad4a74a2..ff62667f9b 100644 --- a/rust-version +++ b/rust-version @@ -1 +1 @@ -903d2976fdb6ceeb65526b7555d8d1e6f8c02134 +f4f0fafd0c7849e162eddbc69fa5fe82dbec28c7