Skip to content

Commit

Permalink
back out similar_names change
Browse files Browse the repository at this point in the history
  • Loading branch information
llogiq committed Apr 29, 2016
1 parent de64670 commit 7cb6c0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/interpreter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,8 @@ impl<'a, 'tcx: 'a, 'arena> Interpreter<'a, 'tcx, 'arena> {

for stmt in &block_data.statements {
self.log(0, || print!("{:?}", stmt));
let mir::StatementKind::Assign(ref l_value, ref r_value) = stmt.kind;
let result = self.eval_assignment(l_value, r_value);
let mir::StatementKind::Assign(ref lvalue, ref rvalue) = stmt.kind;
let result = self.eval_assignment(lvalue, rvalue);
try!(self.maybe_report(stmt.span, result));
}

Expand Down

0 comments on commit 7cb6c0d

Please sign in to comment.