I'm having trouble reusing macros inside a box.
If the macro is defined in ./src/macros.rs :
and used in ./src/lib.rs :
I do not see this macro in ./src/submod/lib.rs :
my_macro!(...);
It displays the error message error: macro undefined: 'my_macro!' .
Is there any way to import this macro into this submod child module?
source share