aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crates/ra_syntax/src/ast/generated/nodes.rs1
-rw-r--r--xtask/src/ast_src.rs4
2 files changed, 1 insertions, 4 deletions
diff --git a/crates/ra_syntax/src/ast/generated/nodes.rs b/crates/ra_syntax/src/ast/generated/nodes.rs
index a25646c6b..cf6067e57 100644
--- a/crates/ra_syntax/src/ast/generated/nodes.rs
+++ b/crates/ra_syntax/src/ast/generated/nodes.rs
@@ -2479,7 +2479,6 @@ pub struct ConstArg {
2479} 2479}
2480impl ConstArg { 2480impl ConstArg {
2481 pub fn literal(&self) -> Option<Literal> { support::child(&self.syntax) } 2481 pub fn literal(&self) -> Option<Literal> { support::child(&self.syntax) }
2482 pub fn eq_token(&self) -> Option<SyntaxToken> { support::token(&self.syntax, T![=]) }
2483 pub fn block_expr(&self) -> Option<BlockExpr> { support::child(&self.syntax) } 2482 pub fn block_expr(&self) -> Option<BlockExpr> { support::child(&self.syntax) }
2484} 2483}
2485/// FIXME: (@edwin0cheng) Remove it to use ItemList instead 2484/// FIXME: (@edwin0cheng) Remove it to use ItemList instead
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