Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't use a generic parameter S in derive #169

Closed
KodrAus opened this issue Sep 29, 2023 · 0 comments · Fixed by #174
Closed

Can't use a generic parameter S in derive #169

KodrAus opened this issue Sep 29, 2023 · 0 comments · Fixed by #174
Labels
bug Something isn't working

Comments

@KodrAus
Copy link
Collaborator

KodrAus commented Sep 29, 2023

We attempt to shadow the generic parameter S in the custom derive, which prevents this from working:

#[derive(Value)]
pub struct Data<S>(S);
@KodrAus KodrAus added the bug Something isn't working label Sep 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant