Skip to content

feat: add custom attributes to fn and extern-block items #3074

Closed
@rich-ayr

Description

@rich-ayr

Currently you are able to add custom attributes to Struct, Enum and Union but not in other places via ParseCallbacks::add_attributes but not to fn items or extern blocks.

This would allow me to use #[export_tokens] on those items and use the tokens in different macros.

See also #2866

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions