1
Fork 0

Feature gate gen blocks, even in 2024 edition

This commit is contained in:
Oli Scherer 2023-10-23 11:34:27 +00:00
parent c892b28c02
commit 638d2d6fc1
15 changed files with 101 additions and 15 deletions

View file

@ -456,6 +456,8 @@ declare_features! (
(unstable, ffi_returns_twice, "1.34.0", Some(58314), None),
/// Allows using `#[repr(align(...))]` on function items
(unstable, fn_align, "1.53.0", Some(82232), None),
/// Allows defining gen blocks and `gen fn`.
(unstable, gen_blocks, "CURRENT_RUSTC_VERSION", Some(117078), None),
/// Infer generic args for both consts and types.
(unstable, generic_arg_infer, "1.55.0", Some(85077), None),
/// An extension to the `generic_associated_types` feature, allowing incomplete features.