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

allow expr-level exports #21

Open
sam0x17 opened this issue Oct 30, 2023 · 0 comments
Open

allow expr-level exports #21

sam0x17 opened this issue Oct 30, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@sam0x17
Copy link
Owner

sam0x17 commented Oct 30, 2023

Right now #[docify::export] is only recognized when it is applied to Item, ImplItem, and a few others.

This would open it up to be able to be applied to anything in expr position if inside of an outer macro pattern on the parent item (attributes can't appear in expr position yet unless you are using outer macro pattern).

If we can get this in, it will unblock #10

@sam0x17 sam0x17 self-assigned this Oct 30, 2023
@sam0x17 sam0x17 added the enhancement New feature or request label Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant