diff options
| author | Philipp Hansch <dev@phansch.net> | 2020-03-30 07:34:19 +0200 |
|---|---|---|
| committer | Philipp Hansch <dev@phansch.net> | 2020-03-30 07:34:19 +0200 |
| commit | 68ed6ccf045ae361665ccef006e7c968779f993d (patch) | |
| tree | 90267090628fcd497ca12c3dbdbeb1bfa7507b72 | |
| parent | d3c40a1519f1dffda658338d1cffcbac036e1e12 (diff) | |
| download | rust-68ed6ccf045ae361665ccef006e7c968779f993d.tar.gz rust-68ed6ccf045ae361665ccef006e7c968779f993d.zip | |
Rustup to https://github.com/rust-lang/rust/pull/70449
| -rw-r--r-- | clippy_lints/src/redundant_clone.rs | 2 |
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) }; |
