Skip to content

Allow Multiple Errors to Occur #48

@funnyboy-roks

Description

@funnyboy-roks

Currently, we fail on the first error. This is mildly annoying if any sort of error occurs. I think it is possible to yield multiple compile_error!s from the macro and that would be ideal, at the very least one per field, since parsing of field attributes can break.

It would also be nice, if possible, to have the macro still generate the builder function on the original struct, returning a "never" type (can't be ! yet, so add an empty enum to bauer::__private) to remove the Foo::builder function not found error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions