Skip to content

Commit c0a217c

Browse files
committed
---
yaml --- r: 4547 b: refs/heads/master c: 43c9fe6 h: refs/heads/master i: 4545: 9ab275d 4543: 6f5865e v: v3
1 parent 9244341 commit c0a217c

File tree

5 files changed

+2
-11
lines changed

5 files changed

+2
-11
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 00b781e495e9b489d4038565903a56e8dfb8433c
2+
refs/heads/master: 43c9fe65bdfd9edf3de5386596837502ff88ea0d

trunk/src/comp/middle/trans_dps.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -551,9 +551,6 @@ fn trans_init_local(bcx: &@block_ctxt, local: &@ast::local) -> @block_ctxt {
551551
ast::init_move. {
552552
ret trans_expr(bcx, dest_move(bcx_tcx(bcx), llptr, t), init.expr);
553553
}
554-
ast::init_recv. {
555-
ret trans_recv(bcx, dest_copy(bcx_tcx(bcx), llptr, t), init.expr);
556-
}
557554
}
558555
}
559556
none. { ret bcx; }

trunk/src/comp/middle/typeck.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2531,11 +2531,6 @@ fn check_decl_initializer(fcx: &@fn_ctxt, nid: ast::node_id,
25312531
demand::simple(fcx, init.expr.span, lty,
25322532
expr_ty(fcx.ccx.tcx, init.expr));
25332533
}
2534-
ast::init_recv. {
2535-
let port_ty = ty::mk_port(fcx.ccx.tcx, lty);
2536-
demand::simple(fcx, init.expr.span, port_ty,
2537-
expr_ty(fcx.ccx.tcx, init.expr));
2538-
}
25392534
}
25402535
ret bot;
25412536
}

trunk/src/comp/syntax/ast.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ tag stmt_ {
256256
stmt_crate_directive(@crate_directive);
257257
}
258258
259-
tag init_op { init_assign; init_recv; init_move; }
259+
tag init_op { init_assign; init_move; }
260260
261261
type initializer = {op: init_op, expr: @expr};
262262

trunk/src/comp/syntax/print/pprust.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1064,7 +1064,6 @@ fn print_decl(s: &ps, decl: &@ast::decl) {
10641064
alt init.op {
10651065
ast::init_assign. { word_space(s, "="); }
10661066
ast::init_move. { word_space(s, "<-"); }
1067-
ast::init_recv. { word_space(s, "|>"); }
10681067
}
10691068
print_expr(s, init.expr);
10701069
}

0 commit comments

Comments
 (0)