]> git.lizzy.rs Git - rust.git/blobdiff - clippy_lints/src/arithmetic.rs
MutImmutable -> Immutable, MutMutable -> Mutable, CaptureClause -> CaptureBy
[rust.git] / clippy_lints / src / arithmetic.rs
index 35fe0905f7e70014787b64a5b304b03d854f271c..1cca897e73900b9eaa11fde39574f522d2585387 100644 (file)
@@ -63,7 +63,7 @@ fn check_expr(&mut self, cx: &LateContext<'a, 'tcx>, expr: &'tcx hir::Expr) {
                 return;
             }
         }
-        match &expr.node {
+        match &expr.kind {
             hir::ExprKind::Binary(op, l, r) | hir::ExprKind::AssignOp(op, l, r) => {
                 match op.node {
                     hir::BinOpKind::And