1
Fork 0

Add feature gate, not working yet

This commit is contained in:
Michael Goulet 2024-11-16 20:18:02 +00:00
parent 33c245b9e9
commit 3b05779626
5 changed files with 116 additions and 14 deletions

View file

@ -390,6 +390,8 @@ declare_features! (
(unstable, associated_type_defaults, "1.2.0", Some(29661)),
/// Allows `async || body` closures.
(unstable, async_closure, "1.37.0", Some(62290)),
/// Allows async functions to be called from `dyn Trait`.
(incomplete, async_fn_in_dyn_trait, "CURRENT_RUSTC_VERSION", Some(133119)),
/// Allows `#[track_caller]` on async functions.
(unstable, async_fn_track_caller, "1.73.0", Some(110011)),
/// Allows `for await` loops.