Skip to content

Tracking issue for organizing the standard library's #![feature]s #87766

Description

@m-ou-se

The standard libraries use a lot of #![feature]s. We should organize them a bit and make sure it's acceptable for all of them to be used in the way they are.

It'd be nice to split them in language and library features. For the language features, we should check with the relevant team(s) if it's okay that we're using the feature in the library, and document with which of them we need to be extra careful and what their pitfalls are.

There's also a few features enabled that are no longer in use. We should remove those attributes.

  • Categorize and clean up features
  • Make an overview of used language features
  • Discuss those language features and their uses with the relevant team(s)
  • Document stuff for future contributors and reviewers

Activity

  1. added
    C-cleanupCategory: PRs that clean code up or issues documenting cleanup.
    T-libsRelevant to the library team, which will review and decide on the PR/issue.
    on Aug 4, 2021
  2. self-assigned this
    on Aug 4, 2021
  3. added a commit that references this issue on Oct 19, 2021
  4. JmPotato commented on Mar 3, 2022

    @JmPotato
    Contributor

    Hi! I noticed that it had been a while since the last update of this issue, so I took some time to clean up the std library's ![feature]s. Could you please take a look at #94546, thx!

  5. added 7 commits that reference this issue on Mar 4, 2022
  6. 6 remaining items

  7. added a commit that references this issue on Mar 5, 2022
  8. clarfonthey commented on Sep 14, 2026

    @clarfonthey
    Contributor

    I think we've done this satisfactorily enough to close this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

A-technical-debtArea: Internal cleanup workC-cleanupCategory: PRs that clean code up or issues documenting cleanup.T-libsRelevant to the library team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions