Add syntax for ranges
This commit is contained in:
parent
53c5fcb99f
commit
8a357e1d87
13 changed files with 83 additions and 8 deletions
|
|
@ -724,6 +724,7 @@ pub enum Expr_ {
|
|||
ExprTupField(P<Expr>, Spanned<uint>),
|
||||
ExprIndex(P<Expr>, P<Expr>),
|
||||
ExprSlice(P<Expr>, Option<P<Expr>>, Option<P<Expr>>, Mutability),
|
||||
ExprRange(P<Expr>, Option<P<Expr>>),
|
||||
|
||||
/// Variable reference, possibly containing `::` and/or
|
||||
/// type parameters, e.g. foo::bar::<baz>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue