Skip to content

Conversation

grushton-lidya
Copy link

Addresses #339

@tomhoule
Copy link
Member

Hi @grushton-lidya ! Thanks for the PR. Sorry for the delay, nobody was really maintaining this crate. I'm coming back to more active maintainership now.

Naively, wouldn't the idea in this comment #339 (comment) work without additional support?

@grushton-lidya
Copy link
Author

It would but I believe there's a limitation, excerpt from here.

Eager macro expansion only happens in a limited number of built-in attributes, with #[doc] being the primary example that will benefit from this.

Indeed I believe I tried out the suggestion in #339 (comment) but couldn't get it to work.

@tomhoule
Copy link
Member

Ah ok, I'll try and confirm this. If it doesn't work in our derive, let's merge this PR.

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.

2 participants