-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature flag: add feature flag type_changing_struct_update
for implementation of RFC #2528
#86646
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @estebank (or someone else) soon. Please see the contribution instructions for more information. |
Ping from triage: |
@kolharsam Ping from triage, CI is still red here. Mind fixing it? |
@@ -666,6 +666,10 @@ declare_features! ( | |||
/// Allows qualified paths in struct expressions, struct patterns and tuple struct patterns. | |||
(active, more_qualified_paths, "1.54.0", Some(80080), None), | |||
|
|||
/// Allows creation of instances of a struct by moving fields that have | |||
/// not changed from prior instances of the same struct (RFC #2528) | |||
(active, type_changing_struct_update, "1.55.0", Some(86618), None) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This just needs a trailing comma to fix CI.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, the version number will need to be updated, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I believe it should be updated to 1.57.0 (because 1.56.0 is about to be promoted to beta).
Triage: @kolharsam I'm closing this as inactive, please feel free to reopen the PR when you're ready to continue. Thanks. |
…ackh726 add feature flag for `type_changing_struct_update` This implements the PR0 part of the mentoring notes within rust-lang#86618. overrides the previous inactive rust-lang#86646 pr. r? `@nikomatsakis`
…ackh726 add feature flag for `type_changing_struct_update` This implements the PR0 part of the mentoring notes within rust-lang#86618. overrides the previous inactive rust-lang#86646 pr. r? ``@nikomatsakis``
…ackh726 add feature flag for `type_changing_struct_update` This implements the PR0 part of the mentoring notes within rust-lang#86618. overrides the previous inactive rust-lang#86646 pr. r? ```@nikomatsakis```
This PR adds a feature flag:
type_changing_struct_update
with regards to the implementation of RFC rust-lang/rfcs#2528.The implementation issue can be found here: #86618