Skip to content

Commit 6590576

Browse files
omasanorithestinger
authored andcommitted
---
yaml --- r: 65015 b: refs/heads/snap-stage3 c: afaca4c h: refs/heads/master i: 65013: bcdc498 65011: 674bf9c 65007: 09ee8a9 v: v3
1 parent 9252370 commit 6590576

File tree

2 files changed

+1
-6
lines changed
  • branches/snap-stage3/src/librustc/middle/typeck/check

2 files changed

+1
-6
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 2d28d645422c1617be58c8ca7ad9a457264ca850
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 75155cd1b0c134056e86addbbf9097a26fe6a1f5
4+
refs/heads/snap-stage3: afaca4c822457d3b1cdf140414ff0cf2f224befb
55
refs/heads/try: 7b78b52e602bb3ea8174f9b2006bff3315f03ef9
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/src/librustc/middle/typeck/check/mod.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2750,13 +2750,8 @@ pub fn check_expr_with_unifier(fcx: @mut FnCtxt,
27502750
}
27512751
ast::expr_vec(ref args, mutbl) => {
27522752
let t: ty::t = fcx.infcx().next_ty_var();
2753-
let mut arg_is_bot = false;
2754-
let mut arg_is_err = false;
27552753
foreach e in args.iter() {
27562754
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);
27602755
}
27612756
let typ = ty::mk_evec(tcx, ty::mt {ty: t, mutbl: mutbl},
27622757
ty::vstore_fixed(args.len()));

0 commit comments

Comments
 (0)