diff options
author | veetaha <[email protected]> | 2020-05-10 17:11:22 +0100 |
---|---|---|
committer | veetaha <[email protected]> | 2020-05-10 17:11:22 +0100 |
commit | 7a49165f5d5c8186edd04f874eae8a98e39d3df6 (patch) | |
tree | 9e01929e1ef5014c14cf76eca8b41508659fe4d9 /xtask | |
parent | 258a3461b428efa0b8cc8fcd40c7844a8ce22406 (diff) |
Remove MacroStmts as per edwin0cheng
Diffstat (limited to 'xtask')
-rw-r--r-- | xtask/src/ast_src.rs | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/xtask/src/ast_src.rs b/xtask/src/ast_src.rs index 47a5d1d91..ab50eee36 100644 --- a/xtask/src/ast_src.rs +++ b/xtask/src/ast_src.rs | |||
@@ -2010,21 +2010,6 @@ pub(crate) const AST_SRC: AstSrc = AstSrc { | |||
2010 | /// [Reference](https://doc.rust-lang.org/reference/macros.html) | 2010 | /// [Reference](https://doc.rust-lang.org/reference/macros.html) |
2011 | struct MacroItems: ModuleItemOwner { } | 2011 | struct MacroItems: ModuleItemOwner { } |
2012 | 2012 | ||
2013 | // TODO: Idk what I am writing here, please don't believe these words. | ||
2014 | // TODO: clarify @matklad @edwin0cheng | ||
2015 | /// Macro statements is a node that holds an statements created by expanding a macro. | ||
2016 | /// | ||
2017 | /// ``` | ||
2018 | /// foo!(); // expands into some statements -v | ||
2019 | /// // ❰ foo_crate::bar(); ❱ | ||
2020 | /// ``` | ||
2021 | /// | ||
2022 | /// [Reference](https://doc.rust-lang.org/reference/macros.html) | ||
2023 | struct MacroStmts { | ||
2024 | statements: [Stmt], | ||
2025 | Expr, | ||
2026 | } | ||
2027 | |||
2028 | /// List of items in an extern block. | 2013 | /// List of items in an extern block. |
2029 | /// | 2014 | /// |
2030 | /// ``` | 2015 | /// ``` |