aboutsummaryrefslogtreecommitdiff
path: root/xtask/src
diff options
context:
space:
mode:
Diffstat (limited to 'xtask/src')
-rw-r--r--xtask/src/ast_src.rs9
1 files changed, 7 insertions, 2 deletions
diff --git a/xtask/src/ast_src.rs b/xtask/src/ast_src.rs
index a1dc2ce46..d002745ed 100644
--- a/xtask/src/ast_src.rs
+++ b/xtask/src/ast_src.rs
@@ -1554,12 +1554,17 @@ pub(crate) const AST_SRC: AstSrc = AstSrc {
1554 /// } 1554 /// }
1555 /// ❱ 1555 /// ❱
1556 /// 1556 ///
1557 /// ❰ foo!() ❱ 1557 /// // semicolon is a part of `MacroCall` when it is used in item positions
1558 /// ❰ foo!(); ❱
1559 ///
1560 /// fn main() {
1561 /// ❰ foo!() ❱; // macro call expression position doesn't include the semi
1562 /// }
1558 /// ``` 1563 /// ```
1559 /// 1564 ///
1560 /// [Reference](https://doc.rust-lang.org/reference/macros.html) 1565 /// [Reference](https://doc.rust-lang.org/reference/macros.html)
1561 struct MacroCall: NameOwner, AttrsOwner, DocCommentsOwner { 1566 struct MacroCall: NameOwner, AttrsOwner, DocCommentsOwner {
1562 Path, T![!], TokenTree, T![;] // TODO: what is the meaning of the semicolon here? 1567 Path, T![!], TokenTree, T![;]
1563 } 1568 }
1564 1569
1565 /// Attribute. 1570 /// Attribute.