diff options
| author | John Gallagher <jgallagher@bignerdranch.com> | 2014-10-02 22:45:46 -0400 |
|---|---|---|
| committer | John Gallagher <jgallagher@bignerdranch.com> | 2014-10-10 20:30:31 -0400 |
| commit | 0c2c8116a307e88f8327e0ea846d2c9c135193b7 (patch) | |
| tree | b9f17f6dc86f3e98b77b0eaf18a7d5ecb05bd7a4 /src/libsyntax/parse/classify.rs | |
| parent | 78a7676898d9f80ab540c6df5d4c9ce35bb50463 (diff) | |
| download | rust-0c2c8116a307e88f8327e0ea846d2c9c135193b7.tar.gz rust-0c2c8116a307e88f8327e0ea846d2c9c135193b7.zip | |
Teach libsyntax about `while let`
Diffstat (limited to 'src/libsyntax/parse/classify.rs')
| -rw-r--r-- | src/libsyntax/parse/classify.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsyntax/parse/classify.rs b/src/libsyntax/parse/classify.rs index cb57318445e..d46d078c776 100644 --- a/src/libsyntax/parse/classify.rs +++ b/src/libsyntax/parse/classify.rs @@ -28,6 +28,7 @@ pub fn expr_requires_semi_to_be_stmt(e: &ast::Expr) -> bool { | ast::ExprMatch(..) | ast::ExprBlock(_) | ast::ExprWhile(..) + | ast::ExprWhileLet(..) | ast::ExprLoop(..) | ast::ExprForLoop(..) => false, _ => true |
