From 7d7ebf88057ad6e16331e02a86c5951ecd1f23db Mon Sep 17 00:00:00 2001 From: Charles Lew Date: Sun, 10 Oct 2021 14:50:39 +0800 Subject: add feature flag for `type_changing_struct_update` --- compiler/rustc_feature/src/active.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'compiler/rustc_feature/src') diff --git a/compiler/rustc_feature/src/active.rs b/compiler/rustc_feature/src/active.rs index a2fadb13a57..af40705cbfc 100644 --- a/compiler/rustc_feature/src/active.rs +++ b/compiler/rustc_feature/src/active.rs @@ -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 // ------------------------------------------------------------------------- -- cgit 1.4.1-3-g733a5