@@ -404,7 +404,7 @@ fn write_nil_type(ty::ctxt tcx, &node_type_table ntt, uint node_id) {
404
404
// We then annotate the AST with the resulting types and return the annotated
405
405
// AST, along with a table mapping item IDs to their types.
406
406
407
- mod Collect {
407
+ mod collect {
408
408
type ctxt = rec( session:: session sess,
409
409
@ty_item_table id_to_ty_item,
410
410
ty:: type_cache type_cache,
@@ -3300,16 +3300,15 @@ type typecheck_result = tup(node_type_table, ty::type_cache, @ast::crate);
3300
3300
3301
3301
fn check_crate ( & ty:: ctxt tcx, & @ast:: crate crate) -> typecheck_result {
3302
3302
auto sess = tcx. sess ;
3303
- auto result = Collect :: collect_item_types ( sess, tcx, crate ) ;
3303
+ auto result = collect :: collect_item_types ( sess, tcx, crate ) ;
3304
3304
3305
3305
let vec[ ast:: obj_field] fields = vec ( ) ;
3306
3306
3307
3307
auto hasher = hash_unify_cache_entry;
3308
3308
auto eqer = eq_unify_cache_entry;
3309
3309
auto unify_cache =
3310
3310
map:: mk_hashmap[ unify_cache_entry, ty:: Unify :: result] ( hasher, eqer) ;
3311
- auto fpt =
3312
- mk_fn_purity_table ( crate ) ; // use a variation on Collect
3311
+ auto fpt = mk_fn_purity_table ( crate ) ; // use a variation on collect
3313
3312
let node_type_table node_types = result. _3 ;
3314
3313
3315
3314
auto ccx = @rec ( sess=sess,
0 commit comments