Skip to content

Commit 1ca1ff2

Browse files
committed
Don't recurse twice into ExprParen in vtable checking.
1 parent 1228fb0 commit 1ca1ff2

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/librustc/middle/typeck/check/vtable.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -693,10 +693,6 @@ pub fn early_resolve_expr(ex: &ast::Expr, fcx: @FnCtxt, is_early: bool) {
693693
});
694694
}
695695

696-
ast::ExprParen(e) => {
697-
early_resolve_expr(e, fcx, is_early);
698-
}
699-
700696
// Must resolve bounds on methods with bounded params
701697
ast::ExprBinary(callee_id, _, _, _) |
702698
ast::ExprUnary(callee_id, _, _) |

0 commit comments

Comments
 (0)