1
Fork 0

Desugar for await loops

This commit is contained in:
Eric Holk 2023-12-08 17:00:11 -08:00
parent 27d6539a46
commit 97df0d3657
No known key found for this signature in database
GPG key ID: 8EA6B43ED4CE0911
8 changed files with 125 additions and 30 deletions

View file

@ -358,7 +358,7 @@ declare_features! (
/// Allows `#[track_caller]` on async functions.
(unstable, async_fn_track_caller, "1.73.0", Some(110011)),
/// Allows `for await` loops.
(unstable, async_for_loop, "CURRENT_RUSTC_VERSION", None),
(unstable, async_for_loop, "CURRENT_RUSTC_VERSION", Some(118898)),
/// Allows builtin # foo() syntax
(unstable, builtin_syntax, "1.71.0", Some(110680)),
/// Treat `extern "C"` function as nounwind.