diff options
| author | bors <bors@rust-lang.org> | 2020-03-16 12:11:00 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-03-16 12:11:00 +0000 |
| commit | d556bb73df16f72fc5a169b4fa7d4ce79ecd76a2 (patch) | |
| tree | 2cdbe871989cf48bb5418e731fcf34e3f0e5c013 /clippy_lints/src/mutable_debug_assertion.rs | |
| parent | d8bcdac9de7882cbbffa7e02341ca32870d54017 (diff) | |
| parent | ba0884bee37dc386116a8ba87c33a602c1864d68 (diff) | |
| download | rust-d556bb73df16f72fc5a169b4fa7d4ce79ecd76a2.tar.gz rust-d556bb73df16f72fc5a169b4fa7d4ce79ecd76a2.zip | |
Auto merge of #5321 - matthiaskrgr:rustup_31, r=phansch
rustup https://github.com/rust-lang/rust/pull/68944 changelog: none
Diffstat (limited to 'clippy_lints/src/mutable_debug_assertion.rs')
| -rw-r--r-- | clippy_lints/src/mutable_debug_assertion.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clippy_lints/src/mutable_debug_assertion.rs b/clippy_lints/src/mutable_debug_assertion.rs index f0c5c95b1d4..75225fa8c42 100644 --- a/clippy_lints/src/mutable_debug_assertion.rs +++ b/clippy_lints/src/mutable_debug_assertion.rs @@ -155,7 +155,7 @@ impl<'a, 'tcx> Visitor<'tcx> for MutArgVisitor<'a, 'tcx> { walk_expr(self, expr) } - fn nested_visit_map(&mut self) -> NestedVisitorMap<'_, Self::Map> { - NestedVisitorMap::OnlyBodies(&self.cx.tcx.hir()) + fn nested_visit_map(&mut self) -> NestedVisitorMap<Self::Map> { + NestedVisitorMap::OnlyBodies(self.cx.tcx.hir()) } } |
