Remove unused variable.
This commit is contained in:
parent
2105914886
commit
250e9615c5
1 changed files with 1 additions and 1 deletions
|
@ -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"),
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue