Skip to content

libs: clean up enums now that namespacing has arrived #19253

Closed
@aturon

Description

@aturon

Now that enums are namespaced, there's a fair amount of cleanup work to do in libstd.

In particular:

  • During the rollout of the feature, variants were re-exported at the top level to minimize churn. But the new idiom is to keep these items namespaced under the enum. In most cases, these re-exports should be removed.
  • Some variants included prefixes or suffixes in their names as a way to work around the lack of namespacing. These should be renamed.

A lot of this work will happen naturally during API stabilization, but it's also something that can tackled in parallel to help speed things up.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions