We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab5472a commit 1095bbeCopy full SHA for 1095bbe
src/librustc/middle/typeck/check/mod.rs
@@ -1706,7 +1706,6 @@ pub fn check_expr_with_unifier(fcx: @mut FnCtxt,
1706
let expr_t = structurally_resolved_type(fcx, expr.span,
1707
fcx.expr_ty(base));
1708
let (base_t, derefs) = do_autoderef(fcx, expr.span, expr_t);
1709
- let n_tys = tys.len();
1710
1711
match structure_of(fcx, expr.span, base_t) {
1712
ty::ty_struct(base_id, ref substs) => {
0 commit comments