# pub macro rules plan
- [x] [@spastorino] Get @petrochenkov changes in master behind a feature flag
- [x] [@spastorino] Add tests for cross crate macro usages (i.e., exporting a macro from one crate and using it in another).
- [ ] [@spastorino] Add `-Zdump-metadata` to be able to debug `rustc_metadata`
- [ ] [@spastorino] Fix cross crate macro usages
- [ ] [@rylev] Make non-exported macros `pub(self)` in Rust 2021
- [ ] Error on usage of `#[macro_export]`, `#[macro_use]` in Rust 2021