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

Eagerly parse variant-level borrow attribute instead of deferring entire Meta #2399

Merged
merged 1 commit into from Mar 11, 2023

Conversation

dtolnay
Copy link
Member

@dtolnay dtolnay commented Mar 11, 2023

This will be more suited to the next version of syn which doesn't have a Meta data structure any more.

Right now there is some duplication between the Meta(Path(borrow)) case and Meta(NameValue(borrow)) case but that will go away in the conversion.

@dtolnay dtolnay merged commit bbfb1d3 into serde-rs:master Mar 11, 2023
19 checks passed
@dtolnay dtolnay deleted the borrow branch March 11, 2023 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant