From 83e1dc63c2fef49ebd1a4b0cd41d4a888019b166 Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Tue, 17 May 2011 17:44:30 -0700 Subject: [PATCH] rustc: Fix return value of expr_spawn case in pushdown_expr. Should put out soon-to-be-burning tinderbox. --- src/comp/middle/typeck.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/comp/middle/typeck.rs b/src/comp/middle/typeck.rs index 00c54e7b1669..37d9d6704dd9 100644 --- a/src/comp/middle/typeck.rs +++ b/src/comp/middle/typeck.rs @@ -1461,8 +1461,6 @@ mod Pushdown { // so there's no need. auto t = Demand::autoderef(fcx, e.span, expected, ann_to_type(fcx.ccx.node_types, ann), adk); - e_1 = ast::expr_spawn(dom, name, func, args, - triv_ann(ann.id, t)); write_type_only(fcx.ccx.node_types, ann.id, t); }