Skip to content

Refactor deriving code between auto_encode.rs and deriving.rs #5090

Closed
@nikomatsakis

Description

@nikomatsakis

Both auto_encode and deriving.rs do similar things and share various similar routines. We should probably write a "deriving utility library" that they can all use. Deriving already seems to be factored in this way, so maybe it's just a matter of making auto_encode use the routines found there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-syntaxextArea: Syntax extensionsC-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