-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
Tidy: Enforce that groups in declare_feature! are sorted by version number #60361
Labels
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Comments
This was referenced Apr 28, 2019
I would like to work on this. I think I'll be able to add the feature to tidy, but I'll need help for splitting features into groups. |
Centril
added a commit
to Centril/rust
that referenced
this issue
Apr 30, 2019
…cepted, r=oli-obk Cleanup declare_features! for 'accepted' with a uniform style + sort them r? @oli-obk cc rust-lang#60362 cc rust-lang#60361
Centril
added a commit
to Centril/rust
that referenced
this issue
Apr 30, 2019
…tive, r=oli-obk Cleanup 'active' declare_features! with uniform style + sorting. r? @oli-obk (added the FIXME you wanted) cc rust-lang#60354 cc rust-lang#60361
Centril
added a commit
to Centril/rust
that referenced
this issue
Apr 30, 2019
…cepted, r=oli-obk Cleanup declare_features! for 'accepted' with a uniform style + sort them r? @oli-obk cc rust-lang#60362 cc rust-lang#60361
Centril
added a commit
to Centril/rust
that referenced
this issue
Apr 30, 2019
…tive, r=oli-obk Cleanup 'active' declare_features! with uniform style + sorting. r? @oli-obk (added the FIXME you wanted) cc rust-lang#60354 cc rust-lang#60361
Centril
added a commit
to Centril/rust
that referenced
this issue
Apr 30, 2019
…cepted, r=oli-obk Cleanup declare_features! for 'accepted' with a uniform style + sort them r? @oli-obk cc rust-lang#60362 cc rust-lang#60361
Centril
added a commit
to Centril/rust
that referenced
this issue
Apr 30, 2019
…tive, r=oli-obk Cleanup 'active' declare_features! with uniform style + sorting. r? @oli-obk (added the FIXME you wanted) cc rust-lang#60354 cc rust-lang#60361
Centril
added a commit
to Centril/rust
that referenced
this issue
Apr 30, 2019
…cepted, r=oli-obk Cleanup declare_features! for 'accepted' with a uniform style + sort them r? @oli-obk cc rust-lang#60362 cc rust-lang#60361
Centril
added a commit
to Centril/rust
that referenced
this issue
Apr 30, 2019
…tive, r=oli-obk Cleanup 'active' declare_features! with uniform style + sorting. r? @oli-obk (added the FIXME you wanted) cc rust-lang#60354 cc rust-lang#60361
kennytm
added a commit
to kennytm/rust
that referenced
this issue
May 2, 2019
… r=Centril Tidy: ensure lang features are sorted by since This is the tidy side of rust-lang#60361. What is left is actually splitting features into groups and sorting by since. This PR also likely to produce a small (a couple of lines) merge conflict with rust-lang#60362. r? @Centril
Centril
added a commit
to Centril/rust
that referenced
this issue
May 2, 2019
… r=Centril Tidy: ensure lang features are sorted by since This is the tidy side of rust-lang#60361. What is left is actually splitting features into groups and sorting by since. This PR also likely to produce a small (a couple of lines) merge conflict with rust-lang#60362. r? @Centril
Centril
added a commit
to Centril/rust
that referenced
this issue
May 3, 2019
… r=Centril Tidy: ensure lang features are sorted by since This is the tidy side of rust-lang#60361. What is left is actually splitting features into groups and sorting by since. This PR also likely to produce a small (a couple of lines) merge conflict with rust-lang#60362. r? @Centril
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
In the
declare_features! ( ... )
list insrc/libsyntax/feature_gate.rs
, enforce that groups (internal, user-facing, ...) of features are ordered by version number with the newest last. The groups will need to be scoped in some way with a comment, e.g.// feature group START
+feature group END
.This makes it easier to see what things are newer and gives a better overview when considering stabilization.
cc @oli-obk
cc #60354
cc #60362
The text was updated successfully, but these errors were encountered: