@@ -762,7 +762,7 @@ mod Collect {
762
762
}
763
763
}
764
764
}
765
-
765
+
766
766
// Anonymous objects are expressions, not items, but they're enough like
767
767
// items that we're going to include them in this fold.
768
768
fn fold_expr_anon_obj( & @env e, & span sp,
@@ -1544,8 +1544,8 @@ mod Pushdown {
1544
1544
write_type_only( fcx. ccx. node_types, ast:: ann_tag( ann) , t) ;
1545
1545
}
1546
1546
/* FIXME: should this check the type annotations? */
1547
- case ( ast:: expr_fail( _) ) { e_1 = e. node; }
1548
- case ( ast:: expr_log( _, _, _) ) { e_1 = e. node; }
1547
+ case ( ast:: expr_fail( _) ) { e_1 = e. node; }
1548
+ case ( ast:: expr_log( _, _, _) ) { e_1 = e. node; }
1549
1549
case ( ast:: expr_break( _) ) { e_1 = e. node; }
1550
1550
case ( ast:: expr_cont( _) ) { e_1 = e. node; }
1551
1551
case ( ast:: expr_ret( _, _) ) { e_1 = e. node; }
@@ -2262,7 +2262,7 @@ fn check_expr(&@fn_ctxt fcx, &@ast::expr expr) -> @ast::expr {
2262
2262
+ "slot variables or literals" ) ;
2263
2263
}
2264
2264
}
2265
-
2265
+
2266
2266
require_pure_function( fcx. ccx, d_id, expr. span) ;
2267
2267
2268
2268
ret @fold:: respan[ ast:: expr_]
@@ -2574,7 +2574,7 @@ fn check_expr(&@fn_ctxt fcx, &@ast::expr expr) -> @ast::expr {
2574
2574
case ( ast:: expr_call ( ?f , ?args , ?a ) ) {
2575
2575
/* here we're kind of hosed, as f can be any expr
2576
2576
need to restrict it to being an explicit expr_path if we're
2577
- inside a pure function, and need an environment mapping from
2577
+ inside a pure function, and need an environment mapping from
2578
2578
function name onto purity-designation */
2579
2579
require_pure_call ( fcx. ccx , fcx. purity , f, expr. span ) ;
2580
2580
@@ -2613,10 +2613,10 @@ fn check_expr(&@fn_ctxt fcx, &@ast::expr expr) -> @ast::expr {
2613
2613
}
2614
2614
// Otherwise, we should be able to look up the object we're
2615
2615
// "with".
2616
- case ( _) {
2616
+ case ( _) {
2617
2617
// TODO.
2618
-
2619
- fail;
2618
+
2619
+ fail;
2620
2620
}
2621
2621
}
2622
2622
@@ -2886,7 +2886,7 @@ fn check_expr(&@fn_ctxt fcx, &@ast::expr expr) -> @ast::expr {
2886
2886
expr_ty( fcx. ccx. tcx, fcx. ccx. node_types, base_1) ) ;
2887
2887
2888
2888
auto idx_1 = check_expr( fcx, idx) ;
2889
- auto idx_t = expr_ty( fcx. ccx. tcx, fcx. ccx. node_types, idx_1) ;
2889
+ auto idx_t = expr_ty( fcx. ccx. tcx, fcx. ccx. node_types, idx_1) ;
2890
2890
alt ( struct( fcx. ccx. tcx, base_t) ) {
2891
2891
case ( ty:: ty_vec( ?mt) ) {
2892
2892
if ( ! type_is_integral( fcx. ccx. tcx, idx_t) ) {
0 commit comments