diff options
| author | Philipp Krones <hello@philkrones.com> | 2023-08-24 21:04:57 +0200 |
|---|---|---|
| committer | Philipp Krones <hello@philkrones.com> | 2023-08-24 21:04:57 +0200 |
| commit | ef4d64f1bd3f2a5693f062136f8411ac641bece8 (patch) | |
| tree | 386b8d0068d4b23d23f2a0ba5f8ee052dfc566a0 /clippy_lints/src/mutable_debug_assertion.rs | |
| parent | 32eecd4b884dd2901aad05d66d78ea643a896e25 (diff) | |
| parent | df68b713270775364dc286eaec1c48fd14ae50e4 (diff) | |
Merge remote-tracking branch 'upstream/master' into rustup
Diffstat (limited to 'clippy_lints/src/mutable_debug_assertion.rs')
| -rw-r--r-- | clippy_lints/src/mutable_debug_assertion.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/clippy_lints/src/mutable_debug_assertion.rs b/clippy_lints/src/mutable_debug_assertion.rs index dea432fdbd5..9256119e6a4 100644 --- a/clippy_lints/src/mutable_debug_assertion.rs +++ b/clippy_lints/src/mutable_debug_assertion.rs @@ -96,10 +96,6 @@ impl<'a, 'tcx> Visitor<'tcx> for MutArgVisitor<'a, 'tcx> { self.found = true; return; }, - ExprKind::If(..) => { - self.found = true; - return; - }, ExprKind::Path(_) => { if let Some(adj) = self.cx.typeck_results().adjustments().get(expr.hir_id) { if adj |
