diff options
Diffstat (limited to 'xtask/src')
-rw-r--r-- | xtask/src/ast_src.rs | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/xtask/src/ast_src.rs b/xtask/src/ast_src.rs index 8999efc75..821b13378 100644 --- a/xtask/src/ast_src.rs +++ b/xtask/src/ast_src.rs | |||
@@ -1990,14 +1990,9 @@ pub(crate) const AST_SRC: AstSrc = AstSrc { | |||
1990 | /// [RFC](https://github.com/rust-lang/rfcs/blob/master/text/2000-const-generics.md#declaring-a-const-parameter) | 1990 | /// [RFC](https://github.com/rust-lang/rfcs/blob/master/text/2000-const-generics.md#declaring-a-const-parameter) |
1991 | struct ConstArg { Literal, T![=], BlockExpr } | 1991 | struct ConstArg { Literal, T![=], BlockExpr } |
1992 | 1992 | ||
1993 | // TODO: Idk what I am writing here, please don't believe these words. | 1993 | |
1994 | // TODO: clarify @matklad @edwin0cheng | 1994 | /// FIXME: (@edwin0cheng) Remove it to use ItemList instead |
1995 | /// Macro items is a node that holds all the items created by expanding a macro. | 1995 | /// https://github.com/rust-analyzer/rust-analyzer/pull/4083#discussion_r422666243 |
1996 | /// | ||
1997 | /// ``` | ||
1998 | /// foo!(); // expands into some items -v | ||
1999 | /// // ❰ struct Foo; impl Bar for Foo; ❱ | ||
2000 | /// ``` | ||
2001 | /// | 1996 | /// |
2002 | /// [Reference](https://doc.rust-lang.org/reference/macros.html) | 1997 | /// [Reference](https://doc.rust-lang.org/reference/macros.html) |
2003 | struct MacroItems: ModuleItemOwner { } | 1998 | struct MacroItems: ModuleItemOwner { } |