1
Fork 0

Remove unused variable.

This commit is contained in:
Scott Olson 2016-03-13 08:01:22 -06:00
parent 2105914886
commit 250e9615c5

View file

@ -344,7 +344,7 @@ impl<'a, 'tcx: 'a> Interpreter<'a, 'tcx> {
_ => panic!("field access on non-product type: {:?}", base_repr),
},
Downcast(_, variant) => match base_repr {
Downcast(..) => match base_repr {
Repr::Sum { ref discr, .. } => base_ptr.offset(discr.size()),
_ => panic!("variant downcast on non-sum type"),
},