about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-06-13 21:35:56 +0200
committerGitHub <noreply@github.com>2022-06-13 21:35:56 +0200
commitf758b4f4a064a56a02aee34ca1246d05c4fe8b31 (patch)
tree9842bd94009c3dae8807f0925ffe0ddb2ab59666
parent426922be4052fae0df911d039576cf131579a12e (diff)
parent2f923c4d37c7ad5a77544d6542ca167e026f238f (diff)
downloadrust-f758b4f4a064a56a02aee34ca1246d05c4fe8b31.tar.gz
rust-f758b4f4a064a56a02aee34ca1246d05c4fe8b31.zip
Rollup merge of #97999 - compiler-errors:type_changin_struct_update_is_probably_complete, r=oli-obk
Make `type_changing_struct_update` no longer an incomplete feature

After #97705, I don't see what would make it incomplete anymore. `check_expr_struct_fields` seems to now implement the RFC to the letter.

r? ``````@nikomatsakis``````
cc ``````@rust-lang/types``````
-rw-r--r--compiler/rustc_feature/src/active.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_feature/src/active.rs b/compiler/rustc_feature/src/active.rs
index 56269a3c674..b54f0ef361a 100644
--- a/compiler/rustc_feature/src/active.rs
+++ b/compiler/rustc_feature/src/active.rs
@@ -521,7 +521,7 @@ declare_features! (
     (active, type_ascription, "1.6.0", Some(23416), 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),
+    (active, type_changing_struct_update, "1.58.0", Some(86555), None),
     /// Allows unsized fn parameters.
     (active, unsized_fn_params, "1.49.0", Some(48055), None),
     /// Allows unsized rvalues at arguments and parameters.