1
Fork 0

rollup merge of #24933: oli-obk/patch-1

compiler plugins are hosted unter "compiler-plugins.html" not "plugins.html"
This commit is contained in:
Alex Crichton 2015-04-29 15:45:52 -07:00
commit 0cca57712d

View file

@ -765,7 +765,7 @@ as `unimplemented!` until youre ready to write them.
# Procedural macros # Procedural macros
If Rusts macro system cant do what you need, you may want to write a If Rusts macro system cant do what you need, you may want to write a
[compiler plugin](plugins.html) instead. Compared to `macro_rules!` [compiler plugin](compiler-plugins.html) instead. Compared to `macro_rules!`
macros, this is significantly more work, the interfaces are much less stable, macros, this is significantly more work, the interfaces are much less stable,
and bugs can be much harder to track down. In exchange you get the and bugs can be much harder to track down. In exchange you get the
flexibility of running arbitrary Rust code within the compiler. Syntax flexibility of running arbitrary Rust code within the compiler. Syntax