Permit deriving default on enums with #[default]
This commit is contained in:
parent
fd853c00e2
commit
c70147fd66
13 changed files with 372 additions and 75 deletions
|
@ -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
|
||||
// -------------------------------------------------------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue