Proc macro fn cannot be exported except from the crate root #124068
Labels
A-macros
Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
A-proc-macros
Area: Procedural macros
C-bug
Category: This is a bug.
WG-macros
Working group: Macros
...that's all I've got, tbh.
it's mentioned as a limitation but I have no idea why. I genuinely looked for an issue about this but couldn't find one? maybe my issue-finding-fu is just weakened by this late hour. this makes me feel obligated to open a bug.
why this?
I have a macro crate with 1200 lines in its lib.rs already! and it's only 1200 because half of the macros have poor-to-zero documentation!
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: