Skip to content

Tidy: Enforce that groups in declare_feature! are sorted by version number #60361

Closed
@Centril

Description

@Centril

In the declare_features! ( ... ) list in src/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

Metadata

Metadata

Assignees

Labels

E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions