Update for changes in rustc master.
This commit is contained in:
parent
d4c0ef420d
commit
b263886598
1 changed files with 1 additions and 1 deletions
|
|
@ -244,7 +244,7 @@ impl<'a, 'tcx> Interpreter<'a, 'tcx> {
|
|||
let base_ptr = self.eval_lvalue(&proj.base);
|
||||
|
||||
match proj.elem {
|
||||
mir::ProjectionElem::Field(field) => {
|
||||
mir::ProjectionElem::Field(field, _) => {
|
||||
base_ptr.offset(field.index())
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue