Skip to content

Commit 83e1dc6

Browse files
committed
rustc: Fix return value of expr_spawn case in pushdown_expr. Should put out soon-to-be-burning tinderbox.
1 parent c6d4c31 commit 83e1dc6

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/comp/middle/typeck.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1461,8 +1461,6 @@ mod Pushdown {
14611461
// so there's no need.
14621462
auto t = Demand::autoderef(fcx, e.span, expected,
14631463
ann_to_type(fcx.ccx.node_types, ann), adk);
1464-
e_1 = ast::expr_spawn(dom, name, func, args,
1465-
triv_ann(ann.id, t));
14661464
write_type_only(fcx.ccx.node_types, ann.id, t);
14671465
}
14681466

0 commit comments

Comments
 (0)