rust/src/libproc_macro
Steve Klabnik 3075c1f65e Document custom derive.
These are some bare-bones documentation for custom derive, needed
to stabilize "macros 1.1",
https://github.com/rust-lang/rust/issues/35900

The book chapter is based off of a blog post by @cbreeden,
https://cbreeden.github.io/Macros11/

Normally, we have a policy of not mentioning external crates in
documentation. However, given that syn/quote are basically neccesary
for properly using macros 1.1, I feel that not including them here
would make the documentation very bad. So the rules should be bent
in this instance.
2017-01-04 17:34:30 -05:00
..
Cargo.toml rustc: Rename rustc_macro to proc_macro 2016-10-06 11:07:23 -07:00
lib.rs Document custom derive. 2017-01-04 17:34:30 -05:00