diff options
| author | Philipp Krones <hello@philkrones.com> | 2024-06-27 18:37:16 +0200 |
|---|---|---|
| committer | Philipp Krones <hello@philkrones.com> | 2024-06-27 18:49:59 +0200 |
| commit | e9e7a815a78c0697c409fdcfeeaf0d20444f1733 (patch) | |
| tree | 40e594457a09345bdb6e6f52ec5093372448d745 /clippy_lints/src/mutable_debug_assertion.rs | |
| parent | f90d702e66645bad4308acd073ae88ca405984bf (diff) | |
| parent | aaaa9264dcd7d4054aa7c1b955ed1c8510924cae (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 e92ba93942e..563ce2d82ea 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 |
