Skip to content

Commit cff9a3c

Browse files
author
Eric Holk
committed
Fixing compile problems from recent changes.
1 parent cf02c67 commit cff9a3c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/comp/middle/typeck.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1517,8 +1517,8 @@ mod Pushdown {
15171517
auto t = Demand::autoderef(fcx, e.span, expected,
15181518
ann_to_type(fcx.ccx.node_types, ann), adk);
15191519
e_1 = ast::expr_spawn(dom, name, func, args,
1520-
triv_ann(ast::ann_tag(ann), t));
1521-
write_type_only(fcx.ccx.node_types, ast::ann_tag(ann), t);
1520+
triv_ann(ann.id, t));
1521+
write_type_only(fcx.ccx.node_types, ann.id, t);
15221522
}
15231523

15241524
case (_) {

0 commit comments

Comments
 (0)