Skip to content

Handling of private (non-#[macro_export]) declarative macros is broken #48

@MingweiSamuel

Description

@MingweiSamuel

https://stackoverflow.com/a/31749071/2398020

If you have a non-#[macro_export] macro that you want to use in multiple modules, the conventional way to do this is pub(crate) use my_macro; but stageleft turns this into pub use my_macro which results in an error (since #[macro_export] is missing). Workaround is to add #[macro_export] #[doc(hidden)] to make it public but hidden

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