about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-03-30 07:31:25 +0000
committerbors <bors@rust-lang.org>2020-03-30 07:31:25 +0000
commit0254c421f90813e14abd9d982deb5f1b1dfb5b0c (patch)
tree90267090628fcd497ca12c3dbdbeb1bfa7507b72
parentd3c40a1519f1dffda658338d1cffcbac036e1e12 (diff)
parent68ed6ccf045ae361665ccef006e7c968779f993d (diff)
downloadrust-0254c421f90813e14abd9d982deb5f1b1dfb5b0c.tar.gz
rust-0254c421f90813e14abd9d982deb5f1b1dfb5b0c.zip
Auto merge of #5390 - phansch:rustupp, r=matthiaskrgr
Rustup to https://github.com/rust-lang/rust/pull/70449

cc https://github.com/rust-lang/rust/pull/70449

changelog: none
-rw-r--r--clippy_lints/src/redundant_clone.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/redundant_clone.rs b/clippy_lints/src/redundant_clone.rs
index afd36c30a37..6921613894f 100644
--- a/clippy_lints/src/redundant_clone.rs
+++ b/clippy_lints/src/redundant_clone.rs
@@ -93,7 +93,7 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for RedundantClone {
             .into_results_cursor(mir);
         let mut possible_borrower = {
             let mut vis = PossibleBorrowerVisitor::new(cx, mir);
-            vis.visit_body(mir_read_only);
+            vis.visit_body(&mir_read_only);
             vis.into_map(cx, maybe_storage_live_result)
         };