File tree Expand file tree Collapse file tree 2 files changed +1
-6
lines changed
branches/snap-stage3/src/librustc/middle/typeck/check Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: 2d28d645422c1617be58c8ca7ad9a457264ca850
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: 75155cd1b0c134056e86addbbf9097a26fe6a1f5
4
+ refs/heads/snap-stage3: afaca4c822457d3b1cdf140414ff0cf2f224befb
5
5
refs/heads/try: 7b78b52e602bb3ea8174f9b2006bff3315f03ef9
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
Original file line number Diff line number Diff line change @@ -2750,13 +2750,8 @@ pub fn check_expr_with_unifier(fcx: @mut FnCtxt,
2750
2750
}
2751
2751
ast:: expr_vec( ref args, mutbl) => {
2752
2752
let t: ty:: t = fcx. infcx ( ) . next_ty_var ( ) ;
2753
- let mut arg_is_bot = false ;
2754
- let mut arg_is_err = false ;
2755
2753
foreach e in args. iter ( ) {
2756
2754
check_expr_has_type ( fcx, * e, t) ;
2757
- let arg_t = fcx. expr_ty ( * e) ;
2758
- arg_is_bot |= ty:: type_is_bot ( arg_t) ;
2759
- arg_is_err |= ty:: type_is_error ( arg_t) ;
2760
2755
}
2761
2756
let typ = ty:: mk_evec ( tcx, ty:: mt { ty : t, mutbl : mutbl} ,
2762
2757
ty:: vstore_fixed ( args. len ( ) ) ) ;
You can’t perform that action at this time.
0 commit comments