Skip to content

Re-enable clippy::empty_enums after never_type is stable #2500

Description

@coderabbitai

Summary

Re-enable and address the clippy::empty_enums lint after Rust stabilizes the required never_type support.

Rationale

Pull request #2499 disables clippy::empty_enums across the Rust workspace because Rust v1.98 does not support the lint's suggested never_type replacement as a stable feature.

Affected area

  • .cargo/config.toml
  • Rust crates in the workspace that contain empty enums

Required changes

  1. Confirm that the Rust toolchain used by this repository supports never_type as stable.
  2. Remove the workspace-level exception for clippy::empty_enums.
  3. Replace affected empty enums with the supported never_type representation where appropriate.
  4. Run the repository's Rust lint checks.

Acceptance criteria

  • The supported Rust toolchain has stable never_type support.
  • clippy::empty_enums is no longer disabled in .cargo/config.toml.
  • Clippy passes without violations of clippy::empty_enums.

Backlinks

Activity

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

Metadata

Metadata

Assignees

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