Skip to content

Commit 1095bbe

Browse files
committed
Remove unused variable
1 parent ab5472a commit 1095bbe

File tree

1 file changed

+0
-1
lines changed
  • src/librustc/middle/typeck/check

1 file changed

+0
-1
lines changed

src/librustc/middle/typeck/check/mod.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1706,7 +1706,6 @@ pub fn check_expr_with_unifier(fcx: @mut FnCtxt,
17061706
let expr_t = structurally_resolved_type(fcx, expr.span,
17071707
fcx.expr_ty(base));
17081708
let (base_t, derefs) = do_autoderef(fcx, expr.span, expr_t);
1709-
let n_tys = tys.len();
17101709

17111710
match structure_of(fcx, expr.span, base_t) {
17121711
ty::ty_struct(base_id, ref substs) => {

0 commit comments

Comments
 (0)