diff options
| author | bors <bors@rust-lang.org> | 2014-01-29 08:21:38 -0800 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-01-29 08:21:38 -0800 |
| commit | e1580f6d09f0cd990c3eed55b1d6181af3258791 (patch) | |
| tree | 034b8287f1f017f7956d004be95184f53140bd5d /src/libsyntax/parse/classify.rs | |
| parent | 87004db1137c9126ecc8834b1c881c2ef09ee8ef (diff) | |
| parent | a6867e259b98904d0144904b4ffbba61f7c8f6f9 (diff) | |
| download | rust-e1580f6d09f0cd990c3eed55b1d6181af3258791.tar.gz rust-e1580f6d09f0cd990c3eed55b1d6181af3258791.zip | |
auto merge of #11868 : bytbox/rust/remove-do, r=alexcrichton
Fixes #10815.
Diffstat (limited to 'src/libsyntax/parse/classify.rs')
| -rw-r--r-- | src/libsyntax/parse/classify.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libsyntax/parse/classify.rs b/src/libsyntax/parse/classify.rs index 61c80919b6e..accf5e73540 100644 --- a/src/libsyntax/parse/classify.rs +++ b/src/libsyntax/parse/classify.rs @@ -29,9 +29,7 @@ pub fn expr_requires_semi_to_be_stmt(e: @ast::Expr) -> bool { | ast::ExprWhile(..) | ast::ExprLoop(..) | ast::ExprForLoop(..) - | ast::ExprCall(_, _, ast::DoSugar) | ast::ExprCall(_, _, ast::ForSugar) - | ast::ExprMethodCall(_, _, _, _, ast::DoSugar) | ast::ExprMethodCall(_, _, _, _, ast::ForSugar) => false, _ => true } |
