Skip to content

include! items #3504

Closed
Closed
@jesse99

Description

@jesse99

include! only seems to work in an expression context. It would be very nice if it also worked for items.

The use case I have in mind is generating rust code. If include! worked for items then I could simply include the generated code with a hand-written file which would give me control over what is exported from my library.

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