@@ -137,22 +137,21 @@ fragment of the kind specified and binds it to the metavariable `$`_name_.
137137r[ macro.decl.meta.specifier]
138138Valid fragment specifiers are:
139139
140- * ` item ` : an [ _ Item_ ]
141140 * ` block ` : a [ _ BlockExpression_ ]
142- * ` stmt ` : a [ _ Statement_ ] without the trailing semicolon (except for item
143- statements that require semicolons)
144- * ` pat_param ` : a [ _ PatternNoTopAlt_ ]
145- * ` pat ` : at least any [ _ PatternNoTopAlt_ ] , and possibly more depending on edition
146141 * ` expr ` : an [ _ Expression_ ] except [ _ UnderscoreExpression_ ] and [ _ ConstBlockExpression_ ] (see [ macro.decl.meta.expr-underscore] )
147142 * ` expr_2021 ` : same as ` expr ` (see [ macro.decl.meta.edition2021] )
148- * ` ty ` : a [ _ Type_ ]
149143 * ` ident ` : an [ IDENTIFIER_OR_KEYWORD] or [ RAW_IDENTIFIER]
144+ * ` item ` : an [ _ Item_ ]
145+ * ` lifetime ` : a [ LIFETIME_TOKEN]
146+ * ` literal ` : matches ` - ` <sup >?</sup >[ _ LiteralExpression_ ]
147+ * ` meta ` : an [ _ Attr_ ] , the contents of an attribute
148+ * ` pat ` : at least any [ _ PatternNoTopAlt_ ] , and possibly more depending on edition
149+ * ` pat_param ` : a [ _ PatternNoTopAlt_ ]
150150 * ` path ` : a [ _ TypePath_ ] style path
151+ * ` stmt ` : a [ _ Statement_ ] without the trailing semicolon (except for item statements that require semicolons)
151152 * ` tt ` : a [ _ TokenTree_ ]   ; (a single [ token] or tokens in matching delimiters ` () ` , ` [] ` , or ` {} ` )
152- * ` meta ` : an [ _ Attr_ ] , the contents of an attribute
153- * ` lifetime ` : a [ LIFETIME_TOKEN]
153+ * ` ty ` : a [ _ Type_ ]
154154 * ` vis ` : a possibly empty [ _ Visibility_ ] qualifier
155- * ` literal ` : matches ` - ` <sup >?</sup >[ _ LiteralExpression_ ]
156155
157156r[ macro.decl.meta.transcription]
158157In the transcriber, metavariables are referred to simply by ` $ ` _ name_ , since
0 commit comments