add feature flag for type_changing_struct_update

This commit is contained in:
Charles Lew 2021-10-10 14:50:39 +08:00 committed by jackh726
parent 1ddd4e6d7e
commit 7d7ebf8805
4 changed files with 43 additions and 0 deletions

View file

@ -681,6 +681,10 @@ declare_features! (
/// Allows using the `non_exhaustive_omitted_patterns` lint.
(active, non_exhaustive_omitted_patterns_lint, "1.57.0", Some(89554), None),
/// Allows creation of instances of a struct by moving fields that have
/// not changed from prior instances of the same struct (RFC #2528)
(incomplete, type_changing_struct_update, "1.58.0", Some(86555), None),
// -------------------------------------------------------------------------
// feature-group-end: actual feature gates
// -------------------------------------------------------------------------