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

derive: for enums, let Self refer to the original type #333

Merged
merged 1 commit into from
Feb 4, 2025

Conversation

Kijewski
Copy link
Collaborator

@Kijewski Kijewski commented Feb 1, 2025

Resolves #326.

Cc @chrisp60. Can you please have a look if that fixes your problem?

@GuillaumeGomez
Copy link
Contributor

Looks good to me, thanks!

@chrisp60
Copy link
Contributor

chrisp60 commented Feb 3, 2025

@Kijewski compiles and templates are displaying as expected! Thank you. Seems to resolve it AFAIK

@Kijewski Kijewski merged commit 30e6641 into rinja-rs:master Feb 4, 2025
36 checks passed
@Kijewski Kijewski deleted the pr-enum-self branch February 4, 2025 00:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

enum templates cannot use associated constants qualified by Self
3 participants