Teach libsyntax about while let
This commit is contained in:
parent
78a7676898
commit
0c2c8116a3
7 changed files with 80 additions and 1 deletions
|
|
@ -524,6 +524,8 @@ pub enum 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.
|
||||
ExprWhileLet(P<Pat>, P<Expr>, P<Block>, Option<Ident>),
|
||||
// FIXME #6993: change to Option<Name> ... or not, if these are hygienic.
|
||||
ExprForLoop(P<Pat>, P<Expr>, P<Block>, Option<Ident>),
|
||||
// Conditionless loop (can be exited with break, cont, or ret)
|
||||
// FIXME #6993: change to Option<Name> ... or not, if these are hygienic.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue