Skip to content

Improve diagnostic errors from #[derive] macros #197

@KodrAus

Description

@KodrAus

Right now we panic when the macros encounter unexpected input. This is a poor experience for end users. We should instead make use of syn::Error to return meaningful errors with accurate spans.

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