Skip to content

Commit 8725660

Browse files
committed
---
yaml --- r: 10540 b: refs/heads/snap-stage3 c: 093faaa h: refs/heads/master v: v3
1 parent 09f11e0 commit 8725660

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
refs/heads/master: 2898dcc5d97da9427ac367542382b6239d9c0bbf
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 7a253eabce740bfa9e558d41adda784642617b6d
4+
refs/heads/snap-stage3: 093faaabe115c43a09c8565f572fb03d81256a3a
55
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

branches/snap-stage3/src/libsyntax/ast_util.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ fn id_visitor(vfn: fn@(node_id)) -> visit::vt<()> {
455455
visit_expr: fn@(e: @expr) {
456456
vfn(e.id);
457457
alt e.node {
458-
expr_unary(_, _) | expr_binary(_, _, _) {
458+
expr_unary(*) | expr_binary(*) | expr_index(*) {
459459
vfn(ast_util::op_expr_callee_id(e));
460460
}
461461
_ { /* fallthrough */ }

branches/snap-stage3/src/rustc/middle/astencode.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ fn visit_ids(item: ast::inlined_item, vfn: fn@(ast::node_id)) {
200200
visit_expr: fn@(e: @ast::expr) {
201201
vfn(e.id);
202202
alt e.node {
203-
ast::expr_unary(_, _) | ast::expr_binary(_, _, _) {
203+
ast::expr_unary(*) | ast::expr_binary(*) | ast::expr_index(*) {
204204
vfn(ast_util::op_expr_callee_id(e));
205205
}
206206
_ { /* fallthrough */ }

branches/snap-stage3/src/rustc/middle/borrowck/check_loans.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ fn check_loans_in_expr(expr: @ast::expr,
583583
expr.span,
584584
[rval]);
585585
}
586-
ast::expr_unary(_, _)
586+
ast::expr_unary(*) | ast::expr_index(*)
587587
if self.bccx.method_map.contains_key(expr.id) {
588588
self.check_call(expr,
589589
none,

branches/snap-stage3/src/rustc/middle/typeck/check/writeback.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ fn visit_expr(e: @ast::expr, wbcx: wb_ctxt, v: wb_vt) {
103103
resolve_type_vars_for_node(wbcx, e.span, alloc_id);
104104
}
105105

106-
ast::expr_binary(_, _, _) | ast::expr_unary(_, _) |
107-
ast::expr_assign_op(_, _, _) | ast::expr_index(_, _) {
106+
ast::expr_binary(*) | ast::expr_unary(*) | ast::expr_assign_op(*)
107+
| ast::expr_index(*) {
108108
maybe_resolve_type_vars_for_node(wbcx, e.span,
109109
ast_util::op_expr_callee_id(e));
110110
}

0 commit comments

Comments
 (0)