Rollup merge of #135852 - lukas-code:asyncfn-prelude-core, r=compiler-errors

Add `AsyncFn*` to `core` prelude

In https://github.com/rust-lang/rust/pull/132611 these got added to the `std` prelude only, which looks like an oversight.

r? libs-api
cc `@compiler-errors`
This commit is contained in:
Matthias Krüger
2025-01-30 20:47:05 +01:00
committed by Eric Huss
parent 14445aaf35
commit ee94112627
+3
View File
@@ -12,6 +12,9 @@
#[stable(feature = "core_prelude", since = "1.4.0")]
#[doc(no_inline)]
pub use crate::ops::{Drop, Fn, FnMut, FnOnce};
#[stable(feature = "async_closure", since = "1.85.0")]
#[doc(no_inline)]
pub use crate::ops::{AsyncFn, AsyncFnMut, AsyncFnOnce};
// Re-exported functions
#[stable(feature = "core_prelude", since = "1.4.0")]