diff options
| author | Charles Lew <crlf0710@gmail.com> | 2021-10-10 14:50:39 +0800 |
|---|---|---|
| committer | jackh726 <jack.huey@umassmed.edu> | 2021-10-22 11:46:55 -0400 |
| commit | 7d7ebf88057ad6e16331e02a86c5951ecd1f23db (patch) | |
| tree | 24fe7f96878bb4b61f4ac53f0235fd8ed74380f5 /compiler/rustc_feature/src | |
| parent | 1ddd4e6d7ed446934abd428a08e18535faef5e03 (diff) | |
| download | rust-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.rs | 4 |
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 // ------------------------------------------------------------------------- |
