Teach libsyntax about if let
This commit is contained in:
committed by
Jakub Wieczorek
parent
38015eeb70
commit
5d8cfd53b5
@@ -521,6 +521,7 @@ pub enum Expr_ {
|
||||
ExprLit(P<Lit>),
|
||||
ExprCast(P<Expr>, P<Ty>),
|
||||
ExprIf(P<Expr>, P<Block>, Option<P<Expr>>),
|
||||
ExprIfLet(P<Pat>, P<Expr>, P<Block>, Option<P<Expr>>),
|
||||
// FIXME #6993: change to Option<Name> ... or not, if these are hygienic.
|
||||
ExprWhile(P<Expr>, P<Block>, Option<Ident>),
|
||||
// FIXME #6993: change to Option<Name> ... or not, if these are hygienic.
|
||||
|
||||
Reference in New Issue
Block a user