about summary refs log tree commit diff
path: root/compiler/rustc_feature/src
diff options
context:
space:
mode:
authorCharles Lew <crlf0710@gmail.com>2021-10-10 14:50:39 +0800
committerjackh726 <jack.huey@umassmed.edu>2021-10-22 11:46:55 -0400
commit7d7ebf88057ad6e16331e02a86c5951ecd1f23db (patch)
tree24fe7f96878bb4b61f4ac53f0235fd8ed74380f5 /compiler/rustc_feature/src
parent1ddd4e6d7ed446934abd428a08e18535faef5e03 (diff)
downloadrust-7d7ebf88057ad6e16331e02a86c5951ecd1f23db.tar.gz
rust-7d7ebf88057ad6e16331e02a86c5951ecd1f23db.zip
add feature flag for `type_changing_struct_update`
Diffstat (limited to 'compiler/rustc_feature/src')
-rw-r--r--compiler/rustc_feature/src/active.rs4
1 files changed, 4 insertions, 0 deletions
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
     // -------------------------------------------------------------------------