Skip to content

Document need for #[macro_use] for traits in modules #19

@hobofan

Description

@hobofan

Follow up to #18 (comment).

There should be a part in the README that specifies the need for #[macro_use if you want to use traits across modules.

Would also be interesting to know if we can add a compile-time check if the macro is available (probably not, as it's really early in the compilation), and emit a error message with the most common pitfalls.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions