Closed
Description
As of Rust 1.26.2 stable if I define an exported macro in crate foo
then pub extern crate foo
in another crate bar
then consumers of the bar
crate cannot use the macro in foo
even if there is a #[macro_use]
on the pub extern crate foo
and a #[macro_use]
on the extern crate bar
in the consumers code.
I would expect the macros to be propagated similarly to the other items in the foo
crate.
This can be worked around by having the consumer of bar
depend on foo
directly, but that defeats the purpose of the pub extern crate
imo.