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

Implement parsing of generic parameters and where-clauses in library macro

dtolnay opened this issue · comments

As in:

reflect::library! {
    extern crate std {
        mod hash {
            trait Hash {
                fn hash<H>(&self, state: &mut H)
                where
                    H: Hasher;
            }
        }
    }
}