diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2011-05-17 17:44:30 -0700 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2011-05-17 17:44:30 -0700 |
| commit | 83e1dc63c2fef49ebd1a4b0cd41d4a888019b166 (patch) | |
| tree | 1d9a75525f7bf14d7603c857e8980c0a87efbbad /src/comp | |
| parent | c6d4c31ee4657de1e12d50fac2306d0e46b2b04a (diff) | |
| download | rust-83e1dc63c2fef49ebd1a4b0cd41d4a888019b166.tar.gz rust-83e1dc63c2fef49ebd1a4b0cd41d4a888019b166.zip | |
rustc: Fix return value of expr_spawn case in pushdown_expr. Should put out soon-to-be-burning tinderbox.
Diffstat (limited to 'src/comp')
| -rw-r--r-- | src/comp/middle/typeck.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/comp/middle/typeck.rs b/src/comp/middle/typeck.rs index 00c54e7b166..37d9d6704dd 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); } |
