dtolnay / reflect

Compile-time reflection API for developing robust procedural macros (proof of concept)

Home Page:https://docs.rs/reflect

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Re-implement `library!` macro as a procedural macro

dtolnay opened this issue · comments

Syn 0.15 is out and makes it possible for a procedural macro to produce parse errors that are as good as you would get from the current macro_rules based library! macro. Procedural macros are being stabilized in Rust 1.30 in a few weeks. Let's re-implement library! to make it more flexible and maintainable.