Remove unused variable
This commit is contained in:
parent
ab5472a724
commit
1095bbe5eb
@ -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) => {
|
||||
|
Loading…
Reference in New Issue
Block a user