提交 1095bbe5 编写于 作者: I ILyoan

Remove unused variable

上级 ab5472a7
......@@ -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) => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册