Skip to content

Commit

Permalink
Downgrade op_ref to a MaybeIncorrect suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
Manishearth committed Sep 25, 2019
1 parent b94f2e8 commit 866338e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clippy_lints/src/eq_op.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for EqOp {
left.span,
"use the left value directly",
lsnip,
Applicability::MachineApplicable, // snippet
Applicability::MaybeIncorrect, // FIXME #2597
);
})
} else if !lcpy
Expand All @@ -136,7 +136,7 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for EqOp {
right.span,
"use the right value directly",
rsnip,
Applicability::MachineApplicable, // snippet
Applicability::MaybeIncorrect, // FIXME #2597
);
},
)
Expand Down

0 comments on commit 866338e

Please sign in to comment.