diff options
| author | Scott Lawrence <bytbox@gmail.com> | 2014-01-27 19:03:32 -0500 |
|---|---|---|
| committer | Scott Lawrence <bytbox@gmail.com> | 2014-01-29 09:15:42 -0500 |
| commit | a6867e259b98904d0144904b4ffbba61f7c8f6f9 (patch) | |
| tree | 2ab89dca745fb675f949efaf09467aaec5fe3dec /src/libsyntax/parse/classify.rs | |
| parent | 221670b5bc02a9056e3cc278222296f8b3da00de (diff) | |
| download | rust-a6867e259b98904d0144904b4ffbba61f7c8f6f9.tar.gz rust-a6867e259b98904d0144904b4ffbba61f7c8f6f9.zip | |
Removing support for the do syntax from libsyntax and librustc.
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 } |
