Remove unused variable

This commit is contained in:
ILyoan 2013-03-12 20:35:54 +09:00
parent ab5472a724
commit 1095bbe5eb

View File

@ -1706,7 +1706,6 @@ fn check_field(fcx: @mut FnCtxt,
let expr_t = structurally_resolved_type(fcx, expr.span,
fcx.expr_ty(base));
let (base_t, derefs) = do_autoderef(fcx, expr.span, expr_t);
let n_tys = tys.len();
match structure_of(fcx, expr.span, base_t) {
ty::ty_struct(base_id, ref substs) => {