diff options
author | veetaha <[email protected]> | 2020-05-12 21:58:51 +0100 |
---|---|---|
committer | veetaha <[email protected]> | 2020-05-12 21:58:51 +0100 |
commit | b22cf23ad1355af5b039f6da19aa69f57ed47b97 (patch) | |
tree | 7127468a26d9b0690b0cc689fa205b2a5455d6f9 /xtask | |
parent | 8d4c11625a4c294f096e7d735d6d8e93c1941844 (diff) |
Convert TODO about ParamList used in closures to a FIXME
cc @matklad (you didn't comment on this one)
Diffstat (limited to 'xtask')
-rw-r--r-- | xtask/src/ast_src.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xtask/src/ast_src.rs b/xtask/src/ast_src.rs index 36f7ee675..394a7bc88 100644 --- a/xtask/src/ast_src.rs +++ b/xtask/src/ast_src.rs | |||
@@ -1784,7 +1784,6 @@ pub(crate) const AST_SRC: AstSrc = AstSrc { | |||
1784 | /// [While expression reference](https://doc.rust-lang.org/reference/expressions/loop-expr.html#predicate-loops) | 1784 | /// [While expression reference](https://doc.rust-lang.org/reference/expressions/loop-expr.html#predicate-loops) |
1785 | struct Condition { T![let], Pat, T![=], Expr } | 1785 | struct Condition { T![let], Pat, T![=], Expr } |
1786 | 1786 | ||
1787 | // TODO: this one is used by closure expressions too, but hey use pipes instead of parens | ||
1788 | /// Parameter list **declaration**. | 1787 | /// Parameter list **declaration**. |
1789 | /// | 1788 | /// |
1790 | /// ``` | 1789 | /// ``` |
@@ -1797,7 +1796,7 @@ pub(crate) const AST_SRC: AstSrc = AstSrc { | |||
1797 | /// ``` | 1796 | /// ``` |
1798 | /// | 1797 | /// |
1799 | /// [Reference](https://doc.rust-lang.org/reference/items/functions.html)ocs to codegen script | 1798 | /// [Reference](https://doc.rust-lang.org/reference/items/functions.html)ocs to codegen script |
1800 | struct ParamList { | 1799 | struct ParamList { // FIXME: this node is used by closure expressions too, but hey use pipes instead of parens... |
1801 | T!['('], | 1800 | T!['('], |
1802 | SelfParam, | 1801 | SelfParam, |
1803 | params: [Param], | 1802 | params: [Param], |