Update for changes in rustc master.

This commit is contained in:
Scott Olson 2016-02-25 16:06:50 -06:00
parent d4c0ef420d
commit b263886598

View file

@ -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())
}