Skip to content

allow expr-level exports #21

@sam0x17

Description

@sam0x17

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions