From 68ed6ccf045ae361665ccef006e7c968779f993d Mon Sep 17 00:00:00 2001 From: Philipp Hansch Date: Mon, 30 Mar 2020 07:34:19 +0200 Subject: [PATCH] Rustup to https://github.com/rust-lang/rust/pull/70449 --- clippy_lints/src/redundant_clone.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ fn check_fn( .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) }; -- 2.44.0