Skip to content

Commit b919d47

Browse files
committed
remove unused variable
1 parent 929f06e commit b919d47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/middle/typeck/infer/coercion.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ impl Coerce {
196196
let inner_ty = match *sty_a {
197197
ty::ty_box(mt_a) => mt_a.ty,
198198
ty::ty_uniq(mt_a) => mt_a.ty,
199-
ty::ty_rptr(r_a, mt_a) => mt_a.ty,
199+
ty::ty_rptr(_, mt_a) => mt_a.ty,
200200
_ => {
201201
return self.subtype(a, b);
202202
}

0 commit comments

Comments
 (0)