Skip to content

Should we keep un-deriving traits in library to make them const? #102371

Closed
@scottmcm

Description

@scottmcm

PRs like https://github.com/rust-lang/rust/pull/101698/files#diff-0752889661748b8a15a597d7156127b6fb90fdeda0627be50e07f3f785bd0f4dR678 stop using derives for traits because the derives can't make things const.

Should we maybe stop doing this in library until there's a way to #[const_derive(Ord)] or similar? It looks like we're on track to stop deriving essentially anything, which seems like a bad worldstate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    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