Skip to content

The hand-written IterBytes implementations in middle::ty are a consistency hazard. #7234

Closed
@bblum

Description

@bblum

...because the compiler doesn't catch you when you change a datatype somewhere but don't update the corresponding iter_bytes implementation. Maybe we could use deriving for all of them?

(Also in typeck::infer::region_inference and trans::common.)

nominating production ready

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-cleanupCategory: PRs that clean code up or issues documenting cleanup.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions