Permit deriving default on enums with #[default]

This commit is contained in:
Jacob Pratt
2021-06-29 20:22:52 -04:00
parent fd853c00e2
commit c70147fd66
13 changed files with 372 additions and 75 deletions

View File

@@ -683,6 +683,9 @@ declare_features! (
/// Infer generic args for both consts and types.
(active, generic_arg_infer, "1.55.0", Some(85077), None),
/// Allows `#[derive(Default)]` and `#[default]` on enums.
(active, derive_default_enum, "1.56.0", Some(86985), None),
// -------------------------------------------------------------------------
// feature-group-end: actual feature gates
// -------------------------------------------------------------------------