Skip to content

[0.4.0-pre, fixed in PR] proc macro derive produced unparseable tokens #398

Closed

Description

@abonander

I have a fix for this in #399 already but documenting it in case anyone else runs into it.

On master, the following code:

#[derive(PartialEq, Eq, Debug, sqlx::Type)]
#[sqlx(transparent)]
struct MyInt4(i32);

Produces this error:
image (1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions