Skip to content
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

Remove struct_field_attributes feature gate #42656

Merged
merged 2 commits into from
Jun 16, 2017

Conversation

tirr-c
Copy link
Contributor

@tirr-c tirr-c commented Jun 14, 2017

Part of #41681. This PR only removes the feature gate; this does not update any documentations. This PR removes the feature gate and the corresponding chapter of the Unstable Book.

I'm not very sure about the changes I made though... Just followed the stabilization guideline.

r? @nikomatsakis

@rust-highfive
Copy link
Collaborator

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @nikomatsakis (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see the contribution instructions for more information.

@est31
Copy link
Member

est31 commented Jun 14, 2017

This PR only removes the feature gate; this does not update any documentations.

You have to update the unstable book and remove its chapter on this feature in order for this PR to pass tidy and get merged.

@nikomatsakis
Copy link
Contributor

@VBChunguk

Indeed, as @est31 pointed out, we see this tidy error:

[00:03:00] * 134 features
[00:03:00] tidy error: The Unstable Book has a 'language feature' section 'struct_field_attributes' which doesn't correspond to an unstable language feature
[00:03:00] some tidy checks failed

@est31, maybe you can write up some brief instructions on what files to edit? We can put them in the forge description.

@est31
Copy link
Member

est31 commented Jun 14, 2017

@est31, maybe you can write up some brief instructions on what files to edit?

Its already documented:

If any documentation for this feature exists, it should be in the Unstable Book, located at src/doc/unstable-book. Regardless of its existence, the page for the feature gate should be removed.

The wording is too much in the should and should more be like "needs to be removed". After all its a tidy issue that disallows the PR to be merged.

@aidanhs aidanhs added the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Jun 15, 2017
@tirr-c
Copy link
Contributor Author

tirr-c commented Jun 15, 2017

@nikomatsakis @est31 I've removed the chapter from the Unstable Book. It passed tidy checks when I ran it locally. Is this the only thing I should do?

@est31
Copy link
Member

est31 commented Jun 15, 2017

@VBChunguk I think so, yes. Of course, the (other) docs need to be updated but that can be managed separately.

@tirr-c
Copy link
Contributor Author

tirr-c commented Jun 15, 2017

@nikomatsakis @est31 Thanks for helping me on this PR! This is the first time I contribute to such huge project like this.

I should have added tidy checks in the pre-push hook...

@nikomatsakis
Copy link
Contributor

@VBChunguk no worries. I submit half-tested stuff all the time. ;) That's what travis is for, the way I see it. :)

@nikomatsakis
Copy link
Contributor

I think this all looks right. Thanks @VBChunguk !

@nikomatsakis
Copy link
Contributor

@bors r+

@bors
Copy link
Contributor

bors commented Jun 15, 2017

📌 Commit 65288f4 has been approved by nikomatsakis

@frewsxcv
Copy link
Member

@bors rollup

frewsxcv added a commit to frewsxcv/rust that referenced this pull request Jun 16, 2017
…r=nikomatsakis

Remove struct_field_attributes feature gate

Part of rust-lang#41681. ~This PR only removes the feature gate; this *does not* update any documentations.~ This PR removes the feature gate and the corresponding chapter of the Unstable Book.

I'm not very sure about the changes I made though... Just followed the stabilization guideline.

r? @nikomatsakis
bors added a commit that referenced this pull request Jun 16, 2017
Rollup of 5 pull requests

- Successful merges: #42616, #42651, #42654, #42656, #42685
- Failed merges:
@bors bors merged commit 65288f4 into rust-lang:master Jun 16, 2017
@tirr-c tirr-c deleted the struct-field-attributes branch June 16, 2017 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants