rustc: Fix return value of expr_spawn case in pushdown_expr. Should put out soon-to-be-burning tinderbox.
This commit is contained in:
parent
c6d4c31ee4
commit
83e1dc63c2
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue