Skip to content

Add docs for field default values#1766

Open
bluebear94 wants to merge 1 commit intorust-lang:masterfrom
bluebear94:mf/default-field-values
Open

Add docs for field default values#1766
bluebear94 wants to merge 1 commit intorust-lang:masterfrom
bluebear94:mf/default-field-values

Conversation

@bluebear94
Copy link

Tracking issue: rust-lang/rust#132162

@rustbot rustbot added the S-waiting-on-review Status: The marked PR is awaiting review from a maintainer label Mar 24, 2025
@ehuss ehuss added the S-waiting-on-stabilization Waiting for a stabilization PR to be merged in the main Rust repository label Mar 24, 2025
@traviscross
Copy link
Contributor

cc @estebank

@traviscross
Copy link
Contributor

@bluebear94: You've been contributing a number of things recently. Thanks for that. We're on the spec call at the moment, and would be interested in talking more with you. If you're able to join us on Zulip, that'd be great. You can then reach out to #t-spec to introduce yourself to the group or to TC directly.

@ehuss
Copy link
Contributor

ehuss commented Mar 27, 2025

@estebank In particular, I'm curious what the status of this feature is in terms of how close it is to stabilization? Is this something you can help with review? I'm generally shy from doing reviews if there are still changes forthcoming, and I have no context on this feature.

Copy link
Contributor

@compiler-errors compiler-errors left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From a compiler perspective, it's probably still worth baking the feature for some time, since it's still pretty new implementation-wise. But I don't think it's going to change much, so it's probably fine to keep this open and tagged as waiting for stabilization and revisit it for tweaks when the stabilization happens.

@rustbot

This comment has been minimized.

@bluebear94 bluebear94 force-pushed the mf/default-field-values branch from 252b208 to 9e4a554 Compare April 15, 2025 21:23
@rustbot

This comment has been minimized.

@bluebear94 bluebear94 force-pushed the mf/default-field-values branch from 9e4a554 to 760338b Compare April 28, 2025 15:33
@rustbot

This comment has been minimized.

@rustbot

This comment has been minimized.

@ehuss ehuss force-pushed the mf/default-field-values branch from 453d6d2 to 9241faa Compare January 27, 2026 23:07
@rustbot

This comment has been minimized.

@theemathas
Copy link
Contributor

This PR collides with existing undocumented syntax for rest-patterns in assignee expressions. See #2208

@bluebear94 bluebear94 force-pushed the mf/default-field-values branch from 9241faa to baa53ae Compare March 18, 2026 03:24
@rustbot
Copy link
Collaborator

rustbot commented Mar 18, 2026

This PR was rebased onto a different master commit. Here's a range-diff highlighting what actually changed.

Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.

@bluebear94 bluebear94 force-pushed the mf/default-field-values branch from baa53ae to 56f7ea7 Compare March 18, 2026 03:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: The marked PR is awaiting review from a maintainer S-waiting-on-stabilization Waiting for a stabilization PR to be merged in the main Rust repository

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants