Skip to content

Procedural macros: attributes are not documented #39821

Closed
@steveklabnik

Description

@steveklabnik
#[proc_macro_derive(CustomDerive, attributes(custom_attr1, custom_attr2))]
fn custom_derive(...) ...

is not described in https://doc.rust-lang.org/stable/book/procedural-macros.html nor the reference.

I'm happy to mentor anyone who wants to fix this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.E-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions