@@ -81,7 +81,7 @@ iteration, this represents a compile error. Here is the [algorithm][original]:
8181 3 . If it's resolved:
8282 0 . Run the macro's expander function that consumes a [ ` TokenStream ` ] or
8383 AST and produces a [ ` TokenStream ` ] or [ ` AstFragment ` ] (depending on
84- the macro kind). (A ` TokenStream ` is a collection of [ ` TokenTrees ` ] ,
84+ the macro kind). (A ` TokenStream ` is a collection of [ ` TokenTree ` s ] [ tt ] ,
8585 each of which are a token (punctuation, identifier, or literal) or a
8686 delimited group (anything inside ` () ` /` [] ` /` {} ` )).
8787 - At this point, we know everything about the macro itself and can
@@ -110,14 +110,14 @@ iteration, this represents a compile error. Here is the [algorithm][original]:
110110 0 . Put the macro back in the queue
111111 1 . Continue to next iteration...
112112
113- [ defpaths ] : https://rustc-dev-guide.rust-lang.org/hir.html?highlight=def,path#identifiers-in-the-hir
113+ [ defpath ] : https://rustc-dev-guide.rust-lang.org/hir.html?highlight=def,path#identifiers-in-the-hir
114114[ `NodeId` ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_ast/node_id/struct.NodeId.html
115115[ `InvocationCollector` ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_expand/expand/struct.InvocationCollector.html
116116[ `DefId` ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_hir/def_id/struct.DefId.html
117117[ `DefCollector` ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_resolve/def_collector/struct.DefCollector.html
118118[ `BuildReducedGraphVisitor` ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_resolve/build_reduced_graph/struct.BuildReducedGraphVisitor.html
119119[ hybelow ] : #hygiene-and-heirarchies
120- [ `TokenTree` ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_ast/tokenstream/enum.TokenTree.html
120+ [ tt ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_ast/tokenstream/enum.TokenTree.html
121121[ `TokenStream` ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_ast/tokenstream/struct.TokenStream.html
122122[ inv ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_expand/expand/struct.Invocation.html
123123[ `AstFragment` ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_expand/expand/enum.AstFragment.html
0 commit comments