Removed the obsolete ast::CallSugar (previously used by do).

This commit is contained in:
Eduard Burtescu 2014-02-14 10:28:32 +02:00 committed by Alex Crichton
parent 07ea23e15d
commit 6e84023596
23 changed files with 79 additions and 146 deletions

View file

@ -351,11 +351,11 @@ impl CFGBuilder {
self.straightline(expr, pred, *elems)
}
ast::ExprCall(func, ref args, _) => {
ast::ExprCall(func, ref args) => {
self.call(expr, pred, func, *args)
}
ast::ExprMethodCall(_, _, _, ref args, _) => {
ast::ExprMethodCall(_, _, _, ref args) => {
self.call(expr, pred, args[0], args.slice_from(1))
}