]> git.lizzy.rs Git - rust.git/commitdiff
Update for changes in rustc master.
authorScott Olson <scott@solson.me>
Thu, 25 Feb 2016 22:06:50 +0000 (16:06 -0600)
committerScott Olson <scott@solson.me>
Thu, 25 Feb 2016 22:06:50 +0000 (16:06 -0600)
src/interpreter.rs

index d912fe47a70d4f6e3fa886ffee9c183ed02cb782..ce923f2b34eb997c281b0351f9bb8d5b5ecdc6a8 100644 (file)
@@ -244,7 +244,7 @@ fn eval_lvalue(&self, lvalue: &mir::Lvalue) -> Pointer {
                 let base_ptr = self.eval_lvalue(&proj.base);
 
                 match proj.elem {
-                    mir::ProjectionElem::Field(field) => {
+                    mir::ProjectionElem::Field(field, _) => {
                         base_ptr.offset(field.index())
                     }