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 {
24792479}
24802480impl ConstArg {
24812481 pub fn literal ( & self ) -> Option < Literal > { support:: child ( & self . syntax ) }
2482- pub fn eq_token ( & self ) -> Option < SyntaxToken > { support:: token ( & self . syntax , T ! [ =] ) }
24832482 pub fn block_expr ( & self ) -> Option < BlockExpr > { support:: child ( & self . syntax ) }
24842483}
24852484/// 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 {
19961996 /// [Reference](https://doc.rust-lang.org/reference/paths.html#paths-in-expressions)
19971997 struct LifetimeArg { T ![ lifetime] }
19981998
1999-
2000- // TODO: What does equal sign do here?
20011999 /// Constant value argument that is passed at generic instantiation site.
20022000 ///
20032001 /// ```
@@ -2007,7 +2005,7 @@ pub(crate) const AST_SRC: AstSrc = AstSrc {
20072005 /// ```
20082006 ///
20092007 /// [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 }
20112009
20122010
20132011 /// FIXME: (@edwin0cheng) Remove it to use ItemList instead
You can’t perform that action at this time.
0 commit comments