1
Fork 0

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
No known key found for this signature in database
GPG key ID: B80E19E4662B5AA4
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
// -------------------------------------------------------------------------