File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed
crates/ra_syntax/src/ast/generated Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -2479,7 +2479,6 @@ pub struct ConstArg {
2479
2479
}
2480
2480
impl ConstArg {
2481
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
2482
pub fn block_expr ( & self ) -> Option < BlockExpr > { support:: child ( & self . syntax ) }
2484
2483
}
2485
2484
/// FIXME: (@edwin0cheng) Remove it to use ItemList instead
Original file line number Diff line number Diff line change @@ -1996,8 +1996,6 @@ pub(crate) const AST_SRC: AstSrc = AstSrc {
1996
1996
/// [Reference](https://doc.rust-lang.org/reference/paths.html#paths-in-expressions)
1997
1997
struct LifetimeArg { T ![ lifetime] }
1998
1998
1999
-
2000
- // TODO: What does equal sign do here?
2001
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
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
2011
/// FIXME: (@edwin0cheng) Remove it to use ItemList instead
You can’t perform that action at this time.
0 commit comments