diff --git a/src/misc.rs b/src/misc.rs index 5059a87bccf..8cde5104ff7 100644 --- a/src/misc.rs +++ b/src/misc.rs @@ -193,7 +193,7 @@ impl LintPass for Precedence { fn is_arith_expr(expr : &Expr) -> bool { match expr.node { - ExprBinary(Spanned { node: op, ..}, _, _) => is_arith_op(lop), + ExprBinary(Spanned { node: op, ..}, _, _) => is_arith_op(op), _ => false } }