aboutsummaryrefslogtreecommitdiff
path: root/xtask/src/ast_src.rs
diff options
context:
space:
mode:
authorveetaha <[email protected]>2020-05-12 21:57:04 +0100
committerveetaha <[email protected]>2020-05-12 21:57:04 +0100
commit8d4c11625a4c294f096e7d735d6d8e93c1941844 (patch)
tree4606044a8cd18e77f68a2cf91f8bd0cbfab28e14 /xtask/src/ast_src.rs
parentb31475d31619816cce9afe4d46ec5c9a96cc56c3 (diff)
Remove an equals sign from `ConstArg` (this probably pertains only to ConstParam)
(As per matklad)
Diffstat (limited to 'xtask/src/ast_src.rs')
-rw-r--r--xtask/src/ast_src.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/xtask/src/ast_src.rs b/xtask/src/ast_src.rs
index c2d077d40..36f7ee675 100644
--- a/xtask/src/ast_src.rs
+++ b/xtask/src/ast_src.rs
@@ -1996,8 +1996,6 @@ pub(crate) const AST_SRC: AstSrc = AstSrc {
1996 /// [Reference](https://doc.rust-lang.org/reference/paths.html#paths-in-expressions) 1996 /// [Reference](https://doc.rust-lang.org/reference/paths.html#paths-in-expressions)
1997 struct LifetimeArg { T![lifetime] } 1997 struct LifetimeArg { T![lifetime] }
1998 1998
1999
2000 // TODO: What does equal sign do here?
2001 /// Constant value argument that is passed at generic instantiation site. 1999 /// Constant value argument that is passed at generic instantiation site.
2002 /// 2000 ///
2003 /// ``` 2001 /// ```
@@ -2007,7 +2005,7 @@ pub(crate) const AST_SRC: AstSrc = AstSrc {
2007 /// ``` 2005 /// ```
2008 /// 2006 ///
2009 /// [RFC](https://github.com/rust-lang/rfcs/blob/master/text/2000-const-generics.md#declaring-a-const-parameter) 2007 /// [RFC](https://github.com/rust-lang/rfcs/blob/master/text/2000-const-generics.md#declaring-a-const-parameter)
2010 struct ConstArg { Literal, T![=], BlockExpr } 2008 struct ConstArg { Literal, BlockExpr }
2011 2009
2012 2010
2013 /// FIXME: (@edwin0cheng) Remove it to use ItemList instead 2011 /// FIXME: (@edwin0cheng) Remove it to use ItemList instead