File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -1602,16 +1602,11 @@ fn resolve_local_types_in_block(&@fn_ctxt fcx, &ast::block block)
1602
1602
ret !option:: is_none[ @fn_ctxt] ( env) ;
1603
1603
}
1604
1604
1605
- // FIXME: rustboot bug prevents us from using these functions directly
1606
1605
auto fld = fold:: new_identity_fold[ option:: t[ @fn_ctxt] ] ( ) ;
1607
- auto wbl = writeback_local;
1608
- auto rltia = bind resolve_local_types_in_annotation( _, _) ;
1609
- auto uefi = update_env_for_item;
1610
- auto kg = keep_going;
1611
- fld = @rec( fold_decl_local = wbl,
1612
- fold_ann = rltia,
1613
- update_env_for_item = uefi,
1614
- keep_going = kg
1606
+ fld = @rec( fold_decl_local = writeback_local,
1607
+ fold_ann = resolve_local_types_in_annotation,
1608
+ update_env_for_item = update_env_for_item,
1609
+ keep_going = keep_going
1615
1610
with * fld) ;
1616
1611
ret fold:: fold_block[ option:: t[ @fn_ctxt] ] ( some( fcx) , fld, block) ;
1617
1612
}
You can’t perform that action at this time.
0 commit comments