@@ -161,14 +161,20 @@ which can be used to control type layout.
161
161
162
162
- ` macro_reexport ` on an ` extern crate ` — re-export the named macros.
163
163
164
- - ` macro_export ` - export a macro for cross-crate usage.
164
+ - ` macro_export ` - export a ` macro_rules ` macro for cross-crate usage.
165
165
166
166
- ` no_link ` on an ` extern crate ` — even if we load this crate for macros, don't
167
167
link it into the output.
168
168
169
169
See the [ macros section of the first edition of the
170
170
book] ( ../book/first-edition/macros.html#scoping-and-macro-importexport ) for more
171
- information on macro scope.
171
+ information on ` macro_rules ` macro scope.
172
+
173
+ - ` proc_macro ` - Defines a [ bang macro] .
174
+
175
+ - ` proc_macro_derive ` - Defines a [ derive macro] .
176
+
177
+ - ` proc_macro_attribute ` - Defines an [ attribute macro] .
172
178
173
179
## Miscellaneous attributes
174
180
@@ -525,9 +531,11 @@ You can implement `derive` for your own traits through [procedural macros].
525
531
[ match expressions ] : expressions/match-expr.html
526
532
[ external blocks ] : items/external-blocks.html
527
533
[ items ] : items.html
534
+ [ attribute macro ] : procedural-macros.html#attribute-macros
535
+ [ bang macro ] : procedural-macros.html#bang-macros
528
536
[ conditional compilation ] : conditional-compilation.html
529
- [ trait ] : items/traits .html
530
- [ main ] : crates-and-source-files.html
537
+ [ derive macro ] : procedural-macros .html#derive-macros
538
+ [ trait ] : items/traits.html [ main] : crates-and-source-files.html
531
539
[ `Termination` ] : ../std/process/trait.Termination.html
532
540
[ where clause ] : items/where-clauses.html
533
541
[ trait or lifetime bounds ] : trait-bounds.html
0 commit comments