diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-07-24 18:00:40 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-24 18:00:40 +0200 |
| commit | e342efe545cacf9c933166d166cf1f0996079a5a (patch) | |
| tree | 7899164ee87fa58d8709eee01a4a27663f397805 /library/alloc/src | |
| parent | 34abb9647c58650fd6554dff91c3332e06ee9ace (diff) | |
| parent | b82f878f03a9133f61f4b652fea906322747a379 (diff) | |
| download | rust-e342efe545cacf9c933166d166cf1f0996079a5a.tar.gz rust-e342efe545cacf9c933166d166cf1f0996079a5a.zip | |
Rollup merge of #128120 - compiler-errors:async-fn-name, r=oli-obk
Gate `AsyncFn*` under `async_closure` feature T-lang has not come to a consensus on the naming of async closure callable bounds, and as part of allowing the async closures RFC merge, we agreed to place `AsyncFn` under the same gate as `async Fn` so that these syntaxes can be evaluated in parallel. See https://github.com/rust-lang/rfcs/pull/3668#issuecomment-2246435537 r? oli-obk
Diffstat (limited to 'library/alloc/src')
| -rw-r--r-- | library/alloc/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/alloc/src/lib.rs b/library/alloc/src/lib.rs index a7715740cbd..4491a717dc2 100644 --- a/library/alloc/src/lib.rs +++ b/library/alloc/src/lib.rs @@ -101,6 +101,7 @@ #![feature(array_windows)] #![feature(ascii_char)] #![feature(assert_matches)] +#![feature(async_closure)] #![feature(async_fn_traits)] #![feature(async_iterator)] #![feature(clone_to_uninit)] |
